From owner-freebsd-questions Thu Jun 1 0:29:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.alpha.net.au (mail2.alpha.net.au [203.41.44.8]) by hub.freebsd.org (Postfix) with ESMTP id D581137B724 for ; Thu, 1 Jun 2000 00:29:09 -0700 (PDT) (envelope-from dannyh@idx.com.au) Received: from freebsd.freebsd.org (surry-pool-144.alpha.net.au [203.41.44.144] (may be forged)) by mail.alpha.net.au (8.9.3/8.9.3) with SMTP id RAA01535; Thu, 1 Jun 2000 17:31:10 +1000 From: Danny To: Nils Holland , questions@FreeBSD.ORG Subject: Re: Letting normal users halt the system Date: Fri, 2 Jun 2000 17:36:34 +1000 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <00060217365304.00323@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Install sudo the website is www.courtesean.com/sudo/ On Tue, 30 May 2000, Nils Holland wrote: > Well, I wonder about the following thing: > > Normally, only root can halt and reboot a machine using commands like > shutdown, halt and reboot. This is surely clever. But what can be done if > I explictly want normal users be able to reboot/halt the system? One > possibility that comes to my mind is to compile the kernel so that > CTRL+ALT+DEL is interpreted as system-reboot ( I generally > disable this, but if it's turned on, users could press these keys and > after the system is halted and the reboot-process starts they could turn > it of). Now I'm wondering if there's some place in which I can set the > system up so that also the halt, reboot and shutdown commands work for > normal users. While this surely shouldn't be done on a server in which > many people log in ( that shouldn't be rebootable / haltable by > everyone), it would be good if it worked on one of my computers which is > normally being turned on and off by users as needed. > > See ya, > Nils > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message