chroot jail - jumps back to password prompt
Hi all :)
I've setup (or trying to setup) a chroot jail system on a Fedora Core 4 box. I followed the instructions here: http://www.antionline.com/showthread...hreadid=250875 Here's what I have in the users chroot folder: bin bash su etc DIR_COLORS group passwd profile lib ld-linux.so.2 libdl.so.2 libnss_compat.so.2 librt.so.1 libcrypt.so.1 libgdbm.so.2 libnss_files.so.2 libtermcap.so.2 libc.so.6 libnsl.so.1 libpthread.so.0 When I ssh to the box and login as the user I get the last login time date etc but goes straight back to the password prompt. I'm guessing that I'm missing some files needed to run a shell but not sure what...any help appreciated :) |
Just a quick update - if I ssh from the box like this it prompts for the password - then returns with another password prompt but it's clear text, then I get an error...
ssh -l CIS localhost /bin/rsync CIS@localhost's password: Password:<can read this password> Sorry, user CIS is not allowed to execute '/usr/sbin/chroot /home/CIS /bin/su CIS -c ' as root on localhost.localdomain. |
All times are GMT -5. The time now is 03:40 AM. |