chroot_ssh_sftp_debian_etch

Discussion in 'HOWTO-Related Questions' started by jon, Aug 24, 2008.

  1. jon

    jon Member

    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
     

Share This Page