user limits

Roland Smith rsmith at xs4all.nl
Tue Nov 1 14:39:11 PST 2005


On Tue, Nov 01, 2005 at 05:24:19PM -0500, kalin mintchev wrote:
> 
> hi all...
> 
> i was reading the login.conf man to figure out a way to limit user from a
> class to only certain directories. apparently that isn't possible there.
> 
> there is a path, but thats $PATH for the particular user...  not really
> what s/he can see or not...
> 
> if i can not restrict user cd-ing into certain directories using
> login.conf how can i do it?

chmod 750 directory/

Now only the owner and members of the group can access the directory.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt
-------------- 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-questions/attachments/20051101/f8f4aa09/attachment.bin


More information about the freebsd-questions mailing list