Re: systemctl reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Sep 13, 2014 at 01:33:17PM -0300, Mateus Rodrigues Costa wrote:
> 2014-09-13 12:42 GMT-03:00 Neven Sajko <nsajko@xxxxxxxxx>:
> 
> > 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 dependency for some packages, so it
> might not be easy/recommended to simply uninstall it.

I don't know why people suggest disabling polkit when polkit itself
allows you to change this stuff to your hearts content. It is
extensively documented in the Wiki:

https://wiki.archlinux.org/index.php/polkit#Actions

"...here are a few commonly used groups of actions:

systemd-logind (org.freedesktop.login1.policy) actions regulated by
  polkit include powering off, rebooting, suspending and hibernating
  the system, including when other users may still be logged in..."

"For each of these settings the following options are available:
...
  auth_self: Authentication is required but the user need not be an
  administrative user.
  auth_admin: Authentication as an administrative user is require.
  auth_self_keep: The same as auth_self but, like sudo, the
  authorization lasts a few minutes. 
  auth_admin_keep: The same as auth_admin but, like sudo, the
  authorization lasts a few minutes...."


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux