Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2005 23:39:06 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        kalin mintchev <kalin@el.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: user limits
Message-ID:  <20051101223906.GA46859@slackbox.xs4all.nl>
In-Reply-To: <53534.68.165.89.73.1130883859.squirrel@mail.el.net>
References:  <53534.68.165.89.73.1130883859.squirrel@mail.el.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 01, 2005 at 05:24:19PM -0500, kalin mintchev wrote:
>=20
> hi all...
>=20
> 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.
>=20
> there is a path, but thats $PATH for the particular user...  not really
> what s/he can see or not...
>=20
> 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
--=20
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt

--J/dobhs11T7y2rNN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDZ+6KEnfvsMMhpyURAq/OAJ9q438gWXZw5tXg7c1wsmzmYao4bACeNsVM
cKio9uUfb1HfRuzJZYqedrE=
=gPr6
-----END PGP SIGNATURE-----

--J/dobhs11T7y2rNN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051101223906.GA46859>