retricted environment

Max Laier max at love2party.net
Tue Mar 1 20:31:19 GMT 2005


On Tuesday 01 March 2005 21:22, Matt wrote:
> When providing a shell environment for a larger number of users, what is
> the best way to retrict access to commands/resources?  I've already
> setup quotas.  I don't want users playing with system commands.  I've
> read something about a retricted shell, but can't find any details.

I am not sure a restricted shell is the best sollution for interactive setups, 
but one is availale from src/contrib/sendmail/smrsh.  See README for usage 
and build information.  This, however, is more a thing for cvs-wrappers or 
stuff like that.

For interactive environments you can use the normal group/user permissions and 
of course jail(8)s.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050301/0f6afc16/attachment.bin


More information about the freebsd-hackers mailing list