[FC1] Insufficient rights when trying to shut down

Mike McMullen mlm at loanprocessing.net
Wed Jun 2 18:28:31 UTC 2004


----- Original Message ----- 
From: "Ow Mun Heng" <Ow.Mun.Heng at wdc.com>
To: <fedora-list at redhat.com>
Sent: Wednesday, June 02, 2004 11:15 AM
Subject: Re: [FC1] Insufficient rights when trying to shut down


> On Wed, 2004-06-02 at 09:09, Muñoz Aparicio, Esther wrote:
> > Everything is working fine as root, but now, every time me or my
> > husband try to, for example, shut down the computer (when logged as
> > ourselves), Gnome complains that we have insufficent rights. The same
> > happens with any program that used to ask for root password when
> > invoked from Gnome: the pop-up message says "Insufficient rights" and
> > that's all.
>
> That's cause to invoke the shutdown command,
> you have to be root! Unless of course you grant access
> to the "shutdown" command using sudo.
>
> Alternatively, you can try "poweroff" or "reboot"
> which works w/o needing root admin rights.
>
> (it's a security hazard but if it's your own PC, it's
> deemed ok)
>
> HTH
>
> cheers,
> ow

Out of the box, you must be superuser to use "reboot" or "poweroff". In run
level 0 or 6 they call shutdown with the appropriate flag ie -h or -r. Example
output below:

[mlm at paddles mlm]$ reboot
reboot: must be superuser.
[mlm at paddles mlm]$ poweroff
poweroff: must be superuser.


Mike






More information about the fedora-list mailing list