[998] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

rebooting locally

daemon@ATHENA.MIT.EDU (Eric Sit)
Mon Aug 12 15:06:01 1996

From: Eric Sit <esit@MIT.EDU>
To: ghudson@MIT.EDU
Cc: netbsd-help@MIT.EDU
Date: Mon, 12 Aug 1996 15:01:39 EDT

Hi ther,e
Okay, well, simply adding users to the /etc/group file does not give permissions.
The properties for the /sbin/shutdown file is as follows:

-r-sr-x---  1 root  operator  126976 Dec 18  1995 shutdown

Is there a security risk if I were to change it so that one on the wheel group
could reboot the machine?  Okay to change it to:?

-r-sr-x---  1 root  wheel      . ...........      shutdown 

Thanks!

Eric


Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po8.MIT.EDU (5.61/4.7) id AA14012; Mon, 12 Aug 96 14:44:55 EDT
Received: from GLACIER.MIT.EDU by MIT.EDU with SMTP
	id AA22035; Mon, 12 Aug 96 14:44:48 EDT
Received: (from ghudson@localhost) by glacier.MIT.EDU (8.6.12/8.6.12) id OAA02370; Mon, 12 Aug 1996 14:44:48 -0400
Message-Id: <199608121844.OAA02370@glacier.MIT.EDU>
To: Eric Sit <esit@MIT.EDU>
Cc: netbsd-help@MIT.EDU
Subject: Re: rebooting netBSD locally 
In-Reply-To: Your message of "Mon, 12 Aug 1996 14:37:46 EDT."
             <199608121837.OAA01043@ctpid-36.MIT.EDU> 
Date: Mon, 12 Aug 1996 14:44:47 EDT
From: Greg Hudson <ghudson@MIT.EDU>

I think the easiest thing to do is get together a list of the local
users of your system, and add their usernames to group "wheel" in
/etc/group and /etc/group.local.  Then I think they should be able to
reboot by logging in and typing "shutdown -r now".

Alternatively, you could rebuild your kernel with the
PCVT_CTRL_ALT_DEL option, but that's a little harder.  Also, the PCVT
handling of ctrl-alt-del is not as clean as Linux's (it doesn't do a
normal shutdown).

------- End of Forwarded Message


home help back first fref pref prev next nref lref last post