need root permission to poweroff

Ahmad Samir ahmadsamir3891 at gmail.com
Mon Mar 24 12:23:46 UTC 2014


On 16 March 2014 12:46, Peter Lesterhuis <peterlesterhuis at tiscali.nl> wrote:

> Hi,
> Since a couple of days I need root permission to poweroff.
> It seems that there is a second user logged into the machine.
>
> $ who
> peter    :0           2014-03-10 19:04 (:0)
> peter    pts/0        2014-03-16 11:36 (:0)
>
> $ users
> peter peter
>
> I don' t know hwat caused it, perhaps by shh from another machine.
> What can I do to get rid of this problem.
>
>
You can check the logs:
- In terminal as root 'journalctl -f'
- Try to poweroff, and when it asks for the root password, cancel out of
the dialog
- Check the terminal window, polkit usually prints a message when
authentication is invoked

using the info from the logs you can further investigate what it's asking
for authentication for; and/or add a custom polkit rule to allow you to
poweroff without having to type the root password every time.

-- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>



-- 
Ahmad Samir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20140324/9cf46548/attachment.html>


More information about the users mailing list