Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 17:45:27 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Bernie <Bernie_X@myrealbox.com>
Cc:        Edwin Groothuis <edwin@mavetju.org>, Dimitri T <midiostri@yahoo.co.uk>, questions@freebsd.org
Subject:   Re: shutdown 
Message-ID:  <20020127014527.0641D5D0D@ptavv.es.net>
In-Reply-To: Your message of "Sun, 27 Jan 2002 01:22:00 %2B0200." <20020127012015.X4706-100000@BLAST> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun, 27 Jan 2002 01:22:00 +0200 (EET)
> From: Bernie <Bernie_X@myrealbox.com>
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> i was looking at the same for 'halt'
> 
> -r-xr-xr-x  4 root  wheel     228812 Dec 27 11:24 halt
> 
> seems everyone can use it...

No. halt is executable by everyone, but nobody but root has the
required privilege to actually get it to do anything.

If you have console access, CTRL-ALT-DEL will shutdown the system,
regardless of who is logged in (or even if no one is logged in. Of
course, this feature may have been disabled.

The proper way to allow a user to shutdown the system is to put them
in the operator group or, if this is not suited to your situation, use
sudo which is in the ports.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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