How to configure the system to ask for root password during Shutdown or Restart

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.