user limits

Roland Smith rsmith at
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.

R.F.Smith ( Please send e-mail as plain text.
public key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list