How to allow non-wheel users to perform administrative tasks in Graphical User Interface or using systemctl command line?

Solution Verified - Updated -

Issue

  • I want to let a non-wheel user be able to perform systemd administrative tasks (such as restarting services) without using sudo

  • I want to let a non-wheel user be able to perform administrative tasks while logged into the GUI (GNOME/KDE)

Environment

  • Red Hat Enterprise Linux 7 and later
    • polkit
    • Graphical User Interface
    • systemd command requiring authentication

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