Update: On KDE Plasma desktop it is possible to launch YaST and other tools which need root permission as non root user using the launcher.
Disclaimer: This won't let you run YaST from the launcher as non root user! But you will be able to start a YaST GUI from the terminal with sudo.
To run the graphical user interface for YaST as a normal user with sudo permission, follow the steps below:
Configure sudo for your non root user.
Add your user to the wheel group by using the following commands:
and enter your root password.
# usermod -aG wheel username
Change your /etc/sudoers file by using
Now comment in the line with %wheel by removing the preceding #
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL
and comment out the two following lines by adding a preceding #
## This allows use of an ordinary user account for administration of a freshly
## installed system. When configuring sudo, delete the two
## following lines:
# Defaults targetpw # ask for the password of the target user i.e. root
# ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
now find the already commented in line beginning with Defaults env_keep
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE ..."
and add the words DISPLAY and XAUTHORITY to the end of the line but before the ". This will allow the normal user to start graphical user interfaces with root permission when using sudo.
Defaults env_keep = "... DISPLAY XAUTHORITY"
you can now save and exit visudo.
Leave the root session and lock the root user account by typing
$ sudo passwd -l root
Now configure kdesu to use sudo instead of su
Logout and Login again
For more information about the sudo configuration visit: