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
authenticationwhen 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
