Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: heiner@BinTec.DE (Heiner Steven)
Subject: Re: --> How can *I* reboot my machine? <--
Date: 1996/07/26	[thread overview]
Message-ID: <4taju1$2pl@junior.entwicklung.BinTec.DE> (raw)
In-Reply-To: 4sodo0$rnb@newz.oit.unc.edu


D. White (dswhite@email.unc.edu) wrote:
[...]
 > Is there any way that I can be given access to the
 > /usr/sbin/reboot command for my own machine, without giving me
 > full root access?  I don't need any other superuser functions
 > besides "reboot", and both the sys.admin and I would be happier
 > if I could do it myself rather than hunt her down each time the
 > computer crashes.  She thinks it's possible to give me reboot
 > control without other root privileges, but isn't sure how.  Can
 > anyone suggest a way?

You could create a pseudo-user "reboot" with the user id "0"
(root), home directory "/" and shell "/usr/sbin/reboot". Be sure
to chose a good password.

If the user "reboot" logs in, the command /usr/sbin/reboot will
be executed automatically.

Some systems require all login shells to be listed in a file,
i.e. "/etc/shells". Your sysadmin will have to add
"/usr/sbin/reboot" to this file.

Heiner
--
     -------------------------------------------------------------
    / Heiner Steven  hs@bintec.de / The expressed opinions are  /
   / BinTec Communications       / mine, not BinTec's --       /
  / Willstaetterstr. 30  ------- ...even if they should be ;-)/ 
 / D-90449 Nuernberg    / priv.: heiner@hsysnbg.nbg.sub.org  /
------------------------------------------------------------



  parent reply	other threads:[~1996-07-26  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-19  4:00 --> How can *I* reboot my machine? <-- D. White
1996-07-20  4:00 ` Tom Regan
1996-07-20  4:00   ` Andrew Gierth
1996-07-22  4:00     ` John Hascall
1996-07-24  4:00       ` Shriman Gurung
1996-07-24  4:00         ` Tim Mooney
1996-07-26  4:00 ` Heiner Steven [this message]
1996-07-30  4:00   ` R Denholm
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox