"bad passwd file" when logging into Chroot Jail
Hello all.
I'm trying to recreate the installation of an existing FTP server set up with a Chroot Jail (download available here: http://sourceforge.net/projects/jail , so we know which one I'm referring to). The original server is going to be replaced, and unfortunately the original server was set up before my time. Having set up SCP Only jails before, I figured this would be straight-forward. I downloaded and extracted the chroot jail, and installed as instructed. When I followed the procedure for creating the user and the associated home dir in the jail, and attempted to log in, I get the following error: Code:
jail: chrooted directory /home/jailtest is not configuredfor jail (bad passwd file); bailing out. Code:
Linux# /usr/sbin/adduser -g users -d /home/jail/home/jailtest -s /usr/local/bin/jail jailtest This has to be something small and simple I'm missing, but I've followed the install instructions to the tee (however short they are). Has anyone using this jail seen this before? Thanks! |
Don`t you need to sudo chroot ?
|
Well, here we are over two years later and this issue still plagues me. The processes are the same as in the original post. Does anyone have any idea why this might be happening? It seems there are a few people several years ago who had this same issue but no clear solution that applied to my setup was found.
Thanks! |
|
All times are GMT -5. The time now is 11:50 PM. |