password is not prompted when non-root user reboots
Issue
-
When rebooting the system as a non-root user, why does it not ask for a password?
#shutdown -r now Failed to set wall message, ignoring: Interactive authentication required. Failed to reboot system via logind: Interactive authentication required. Failed to open /run/initctl: Permission denied Failed to talk to init daemon
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.