I'm trying to make a server that acts as sort of an access point for lots of other machines. I want to give one user jailed access to it so they can ssh to other machines in the network.
I've got the jail working alright with all the dependencies for ssh + bash.
All I'm getting when I try to run ssh is
-bash-3.2$ ssh You don't exist, go away!
I've read that this is commonly because you don't have an /etc/group or /etc/passwd file, well I've got my user in there.
I've tried copying getent into the jail and running it, I get nothing in the database for users or groups. Also, I put id in the jail and it looked right too, so linux knows who I am, but ssh doesn't.
There doesn't appear to be anything logged about this is there any way for me to know what is or isn't happening.