[sclug] Restricted Bash Shell

Sapan Ganguly sapan.ganguly at gmail.com
Thu May 18 13:45:40 UTC 2006

I have a problem with the restricted bash shell.  I have some users that log
in with SSH, I've given them a restricted bash shell (bash --restricted)
because I want them to stay in their home directories but the trouble is
they cannot cd into directories (even if they've created them) under their
home directories.  They can do a mkdir in their home directories but then
they cannot cd in.

Does anyone know of a better restricted shell that is smart enough to let
users cd down into their own directories but not out of their home

I didn't want to do the whole chroot thing as it looked like a bit of a


Fight back spam! Download the Blue Frog.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tmdg.co.uk/pipermail/sclug/attachments/20060518/12d9bd17/attachment.htm

More information about the Sclug mailing list