From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,afcdefdb0727bc81 X-Google-Attributes: gidf8c9b,public X-Google-Thread: f72b0,afcdefdb0727bc81 X-Google-Attributes: gidf72b0,public X-Google-Thread: 1020c6,afcdefdb0727bc81 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,afcdefdb0727bc81 X-Google-Attributes: gidfee84,public From: heiner@BinTec.DE (Heiner Steven) Subject: Re: --> How can *I* reboot my machine? <-- Date: 1996/07/26 Message-ID: <4taju1$2pl@junior.entwicklung.BinTec.DE>#1/1 X-Deja-AN: 170637262 references: <4sodo0$rnb@newz.oit.unc.edu> followup-to: comp.unix.admin,comp.unix.misc,comp.unix.questions,comp.unix.osf.osf1 organization: BinTec Communications GmbH. newsgroups: comp.unix.admin,comp.unix.misc,comp.unix.questions,comp.unix.osf.osf1 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 / ------------------------------------------------------------