Subject: Re: shutdown question
To: None <wleeson@indigo.ie>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 07/06/2002 00:50:24
--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Fri, Jul 05, 2002 at 11:51:25PM +0100, wleeson@indigo.ie wrote:
> This is probably a really dumb question but is it possible to give a
> general user the ability to use the shutdown command and if so how?

yes, since /sbin/shutdown is bu default suid-root and operator group
with no-exec for other.  simply add the desired user to group operator.


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--lrZ03NoBR/3+SXJZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9JiKwWc63C347cOIRAgXrAJ0VDzy3IcYrEge/jF5caM1nQ3opjwCfdh2H
zP3lAgeDZsYfwkm1QxznB+o=
=Ck38
-----END PGP SIGNATURE-----

--lrZ03NoBR/3+SXJZ--