how do U restrict a user to a single directory?
specifically - I don't need to restrict a user to a single directory - but I want them to be "ROOTED" to their home directory.
so if my home directory is /home/onlyme
when I login - if I do a pwd - I want to see:
/
but in real life I will be in /home/onlyme - it just appears as root to me.
I don't care if I can make dir's under this... I just don't want users to even SEE what's above their home dir...
i think there used to be a way in sysV unix to do this in the passwd file... but I don't remember how.
chroot is NOT a solution - it confines the user to a jail - but they have full [visual] access to the jail.
FWIW - I'm using debian linux.
TIA
|