[997] in netbsd-help mailing list archive

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

Re: rebooting netBSD locally

daemon@ATHENA.MIT.EDU (David C Zhang)
Mon Aug 12 14:53:29 1996

From: David C Zhang <davidz@MIT.EDU>
To: Eric Sit <esit@MIT.EDU>, netbsd-help@MIT.EDU
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:47:35 EDT


Here is a way to get around giving away the root passwd.
Create a new user (like shutdown) whose shell is /sbin/shutdown,
and give away that user's passwd to others.

I think you have to add that user to wheel, but I am not sure.

David 

In message <199608121837.OAA01043@ctpid-36.MIT.EDU>, esit@mit.edu writes:
>Hi there,
>I was wondering if there was a way to reboot NetBSD if someone wants to
>do it at the console.  For example, Linux has this implementation in the
>/etc/inittab file that allows one to reboot the machine by hitting ctrl-alt-
>delete.  This is like an alias to the shutdown -r now command.
>
>Is there a way i can do something similar for NetBSD?  I want to allow local
>users to reboot, but I don't really want to give away the root password...
>
>Eric
>
>----------
>***************************************************************
>Eric Sit				
>Massachusetts Institute of Technology	3 Ames St
>(617)225-6533				EC Box #156
>esit@mit.edu				Cambridge, MA 02142
>http://web.mit.edu/esit/www/home.html
>***************************************************************
>
>
>
>
>
>
>
>
>
>
>

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