Hello,
On the net, I found the following small howto for a chrooted logon:
http://www.tjw.org/chroot-login-HOWTO/
In general, they do it like this: "login -> sudo(root) -> chroot $HOME su $USER"
I'm pretty sure that this will work but aren't there any serious security concerns here? Can the user in the jail who has become briefly the root not compromise the system? Can't he just change his shell using "SHELL=/bin/bash", export SHELL??
I don't know but I'm a little bit reluctant to give a user, even if it's only briefly and automated a "sudo"....
Anybody has some advice or better tutorial for this?
btw: it's a slack 10 that I'm using.