How to configure the system to ask for root password during Shutdown or Restart
Issue
- Is there any way to configure system to ask root password when non root user attempts to Shutdown or Reboot the system?
- In RHEL7, non-root users can reboot the server by default. How to prompt for
authentication
when non-root user's try to reboot the system?
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Gnome
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.