On 2019-02-11 05:46, Jude DaShiell wrote:
/etc/shutdown.allow needs to have your user's name in it for that user to be able to shut the system down without using su or sudo. /etc/shutdown.deny can have user names in it too, and those will not be allowed to shut the system down.
I tried that on Buster. ~$ /sbin/shutdown -r nowFailed to set wall message, ignoring: Interactive authentication required.
Failed to reboot system via logind: Interactive authentication required. Failed to open initctl fifo: Permission denied Failed to talk to init daemon. -- Key ID 4BFEBB31