On 16 March 2014 12:46, Peter Lesterhuis <peterlesterhuis(a)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.
--
--
Ahmad Samir