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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content