From owner-freebsd-questions Wed Jul 18 20:54:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp-1.enteract.com (smtp-1.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 4FFA437B403 for ; Wed, 18 Jul 2001 20:54:10 -0700 (PDT) (envelope-from dscheidt@tumbolia.com) Received: from shell-3.enteract.com (shell-3.enteract.com [207.229.143.42]) by smtp-1.enteract.com (Postfix) with ESMTP id E8CD86704; Wed, 18 Jul 2001 22:54:09 -0500 (CDT) Date: Wed, 18 Jul 2001 22:54:09 -0500 (CDT) From: David Scheidt X-X-Sender: To: User & Ian Patrick Thomas Cc: Subject: Re: [freebsd-questions] shutdown group In-Reply-To: <20010718232520.G80368@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 18 Jul 2001, User & Ian Patrick Thomas wrote: : :As it was put forth by David Scheidt on Wed, Jul 18, 2001 at 10:13:47PM -0500... :> :> I can't come up with a single good reason why a non-root user should be :> allowed to use the halt(8) or reboot(8) commands. I can't come up with many :> for root using them, either. :> : I'm the only one who uses my workstation and I am trying to get into :the habit of logging into root as little as possible. It is more convenient :and more secure to use sudo to shutdown, then to log in as root and do the :same thing, for me.:) : :Ian Please don't top post. There's no need to use sudo for this. If you put the set of users who need to use the shutdown command into the operator group, they can use shutdown(8). (There are some other priveledges gained from being in the operator group, such as being able to read to read raw disk devices, which is needed to run dump(8)). I certainly understand why non-root users would want to run shutdown(8); halt and reboot have options which can cause serious damage, so I don't see why a non-root user should be allowed to use them. -- dscheidt@tumbolia.com Bipedalism is only a fad. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message