How to allow non-wheel users to perform administrative tasks in Graphical User Interface or using systemctl command line?
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.