Permission to change run level
Net Llama!
netllama
Mon May 17 11:44:18 PDT 2004
On Mon, 10 Feb 2003, Condon Thomas A KPWA wrote:
> I've got a laptop with RedHat 6.2 on it that I added a user to, so my
> brother could continue writing while he is visiting. However, this machine
> does not allow anyone but root to shut down the machine (init 0).
>
> I don't have this problem on other machines, but I've been unable to find
> details on allowing users to do this in the man entries on init, runlevel,
> or anything else I could think of to search.
>
> Any help would be much appreciated.
Perhaps set the setuid bit for /sbin/shutdown or /sbin/halt?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list