[CentOS] Allowing non-root users to reboot a workstation
James Hogarth
james.hogarth at gmail.com
Tue Feb 6 20:16:50 UTC 2018
On 2 February 2018 at 18:13, <m.roth at 5-cent.us> wrote:
> Felipe Westfields wrote:
>> I would like to be able to allow regular users that don't have admin
>> privileges to be able to reboot their workstation. (they're software
>> developers so rebooting their workstation doesn't affect anybody else)
>>
>> I tried changing the ownership of /sbin/reboot and /sbin/shutdown to
>> root:users and permissions to 550, but that didn't work - it's still
>> asking
>> for root privileges.
>>
>> Possibly the problem might be that there's centralized LDAP
>> authentication, not local, so the changes I made only apply to
>> local accounts?
>>
>> Any suggestions?
>
> Um, I take it that a three-finger kill doesn't work?
>
> mark
>
You;ll want to look at polkit configuration as that's what is used by
systemd, and by gnome as a result, to determine what actions are
permitted
https://www.hogarthuk.com/?q=node/10
More information about the CentOS
mailing list