Note that this is not for security conscious user. If you are concern about security, you can skip this post :)
To allow GUI based yast2 to run without password, create yast2 file in /etc/sudoers.d with the following content:
Defaults env_keep += "DISPLAY XAUTHORITY"
tux ALL = NOPASSWD: /sbin/yast2
With the above file created, when user tux will be able to launch graphical yast2 with the following command
# sudo yast2
You can then create a shortcut in your desktop that call sudo yast2
Enjoy!!!
To allow GUI based yast2 to run without password, create yast2 file in /etc/sudoers.d with the following content:
Defaults env_keep += "DISPLAY XAUTHORITY"
tux ALL = NOPASSWD: /sbin/yast2
With the above file created, when user tux will be able to launch graphical yast2 with the following command
# sudo yast2
You can then create a shortcut in your desktop that call sudo yast2
Enjoy!!!