password is not prompted when non-root user reboots

Solution Verified - Updated -

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.

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