chroot_ssh_sftp_debian_etch
I have this up and running very well, and even in production environments. Thanks for the howto!
However I'd like to add the ability to allow users to use screen, irssi, eggdrop, etc. I first tried adding /usr/bin/irssi to the sh file (as detailed in the documentation) however I get this ...
Adding User testuser2 to jail
Copying necessary library-files to jail (may take some time)
cp: cannot create regular file `./bin/bash': Text file busy
cp: cannot create regular file `./bin/su': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
cp: cannot create regular file `./lib/ld-linux.so.2': Text file busy
Once I log in with testuser2 and try irssi, I get this ...
testuser@ellen:~$ irssi
NO WINDOWS: -!- Irssi: Invalid charset: CP1252
setupterm() failed for TERM=xterm: 0
Can't initialize screen handling, quitting.
You can still use the dummy mode with -d parameter
I haven't tried any other programs yet. Any help would be wonderful
|
Recent comments
2 days 2 hours ago
2 days 10 hours ago
2 days 13 hours ago
2 days 15 hours ago
2 days 16 hours ago
2 days 18 hours ago
2 days 19 hours ago
2 days 20 hours ago
3 days 12 hours ago
3 days 13 hours ago