[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
directory.

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

Thanks,
Sapan

-- 
-----
Fight back spam! Download the Blue Frog.
http://www.bluesecurity.com/register/s?user=c2FwYW4uZ2FuZ3VseTMyNQ%3D%3D
-------------- 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