Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 19:31:54 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-questions@freebsd.org
Cc:        "Dixit, Viraj" <Viraj.Dixit@CityofPaloAlto.org>
Subject:   Re: SU Question
Message-ID:  <20050512173154.GB18666@slackbox.xs4all.nl>
In-Reply-To: <A3114C5FA7BA8E4B8F20A198F89917503E7616@xiris.staff.copa>
References:  <A3114C5FA7BA8E4B8F20A198F89917503E7616@xiris.staff.copa>

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

--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 12, 2005 at 10:19:31AM -0700, Dixit, Viraj wrote:
=20
> Final question, I notice the rights of "su" on another system were
> like this "-r-sr-xr-x". What's the rule of setting the option "s" in
> the permissions. Thanks!

You can set this bit (the setuid bit) with chmod. See the chmod manual
page for details and an explanation of the different mode bits.

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

--IiVenqGWf+H9Y6IX
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCg5MKEnfvsMMhpyURAt9nAKCqmVIyAHo0hjDdm5gbNw8bazwfLACeMOdF
7d7enINHSQJtV36NXyqn/+A=
=Bk48
-----END PGP SIGNATURE-----

--IiVenqGWf+H9Y6IX--



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