Re: [arch-general] systemctl reboot

2014-09-13 Thread aakempf
On Sat, Sep 13, 2014 at 01:33:17PM -0300, Mateus Rodrigues Costa wrote: > 2014-09-13 12:42 GMT-03:00 Neven Sajko : > > > Systemd, of course, *would* ask for a password, if polkit (PolicyKit) > > weren't there. > > > Ah, thanks for pointing that. Anyway, is disabling the service enough or > does

Re: [arch-general] systemctl reboot

2014-09-13 Thread Ralf Mardorf
On Sat, 2014-09-13 at 13:33 -0300, Mateus Rodrigues Costa wrote: > 2014-09-13 12:42 GMT-03:00 Neven Sajko : > > > Systemd, of course, *would* ask for a password, if polkit (PolicyKit) > > weren't there. > > > Ah, thanks for pointing that. Anyway, is disabling the service enough or > does he need

Re: [arch-general] systemctl reboot

2014-09-13 Thread Ralf Mardorf
On Sat, 2014-09-13 at 17:42 +0200, Neven Sajko wrote: > On 13 September 2014 17:30, Mateus Rodrigues Costa > wrote: > > I think this is because your current session is the only session running. > > In those situations systemctl power management commands don't ask for > > root/sudo password. Not su

Re: [arch-general] systemctl reboot

2014-09-13 Thread Mateus Rodrigues Costa
2014-09-13 12:42 GMT-03:00 Neven Sajko : > Systemd, of course, *would* ask for a password, if polkit (PolicyKit) > weren't there. Ah, thanks for pointing that. Anyway, is disabling the service enough or does he need to uninstall the package completely? I see that on my system polkit is a depende

Re: [arch-general] systemctl reboot

2014-09-13 Thread Neven Sajko
Systemd, of course, *would* ask for a password, if polkit (PolicyKit) weren't there. On 13 September 2014 17:30, Mateus Rodrigues Costa wrote: > 2014-09-13 11:13 GMT-03:00 Ralf Mardorf : > > > Hi, > > > > as user I have the permission to run systemctl reboot _without_ sudo. > > > > $ groups >

Re: [arch-general] systemctl reboot

2014-09-13 Thread Mateus Rodrigues Costa
2014-09-13 11:13 GMT-03:00 Ralf Mardorf : > Hi, > > as user I have the permission to run systemctl reboot _without_ sudo. > > $ groups > wheel games video audio optical storage power users vboxusers rocketmouse > > $ sudo cat /etc/sudoers | grep -v "#" | grep " " > root ALL=(ALL) ALL > rocketmou

Re: [arch-general] systemctl reboot

2014-09-13 Thread Neven Sajko
You have most probably installed the polkit package. On 13 September 2014 16:13, Ralf Mardorf wrote: > Hi, > > as user I have the permission to run systemctl reboot _without_ sudo. > > $ groups > wheel games video audio optical storage power users vboxusers rocketmouse > > $ sudo cat /etc/sudo

[arch-general] systemctl reboot

2014-09-13 Thread Ralf Mardorf
Hi, as user I have the permission to run systemctl reboot _without_ sudo. $ groups wheel games video audio optical storage power users vboxusers rocketmouse $ sudo cat /etc/sudoers | grep -v "#" | grep " " root ALL=(ALL) ALL rocketmouse ALL=(ALL) ALL 1. How can I disable it? 2. Since I'm the