From owner-freebsd-questions Tue Nov 9 15:11:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id DBA78150CE for ; Tue, 9 Nov 1999 15:11:24 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 7256 invoked from network); 9 Nov 1999 23:11:21 -0000 Received: from userar39.uk.uudial.com (HELO marder-1.) (62.188.136.198) by smtp.dial.pipex.com with SMTP; 9 Nov 1999 23:11:21 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id XAA01019; Tue, 9 Nov 1999 23:10:30 GMT (envelope-from mark) Date: Tue, 9 Nov 1999 23:10:30 +0000 From: Mark Ovens To: Alfred Perlstein Cc: fredrik.carlen@telia.com, freebsd-questions@freebsd.org Subject: Re: Group problems Message-ID: <19991109231030.A980@marder-1> References: <99110818305400.00416@machine.beastie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Nov 08, 1999 at 10:25:58AM -0800, Alfred Perlstein wrote: > On Mon, 8 Nov 1999 fredrik.carlen@telia.com wrote: > > > > > Hello! > > > > I've put myself in the ' wheel ' group by adding my user name to the first line > > in /etc/groups: > > > > wheel:*:0:root,leonis > > > > Now I can su, but not use reboot or halt... > > Does anybody know what the problem is? > > The reboot command GID is wheel, and so is halt's... > > you must execute the programs as root, however if you > include yourself in the 'operator' group you'll be > able to use shutdown as a normal user. > Hmm, didn't know that. Why, though? reboot(8) can't be run as a normal user and the only difference I can see between the two is that shutdown(8) broadcasts a "System going down" warning. Is this just an historical thing or is there a more subtle reason? > -Alfred > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message