Does anyone have a good way to restrict access to systemctl and some of it's commands?
systemctl reboot or systemctl poweroff seem to take effect immediately, with no request for root permissions.
Does anyone have a good way to restrict access to systemctl and some of it's commands?
systemctl reboot or systemctl poweroff seem to take effect immediately, with no request for root permissions.
systemctl poweroff– Charles Green Mar 16 '16 at 00:09systemctl reboot. The system suggested ignoring other users with the -i option, andsystemctl reboot -icaused immediate reboot without notice to the other users. I will start a session in a virtual machine and see if 'Bob' ssh'ing in can accomplish the same. – Charles Green Mar 16 '16 at 03:28