# YAST Gui without Root Password Prompt

**URL:** <https://forums.suse.com/t/yast-gui-without-root-password-prompt/21815>\
**Category:** SLES Configure-Administer\
**Created:** [September 22, 2011, 1:26pm UTC](https://forums.suse.com/t/yast-gui-without-root-password-prompt/21815 "2011-09-22T13:26:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [September 22, 2011, 1:26pm UTC](https://forums.suse.com/t/yast-gui-without-root-password-prompt/21815/1 "2011-09-22T13:26:38Z")

</div>

I have configured my sudo file so that a few groups and users have full  
sudo access to the server, however one thing I can’t seem to figure out  
is how to allow the GUI version of YAST to be launched without prompting  
for the root password. Is this possible and if so, what needs to be  
done to allow this?? I’m not a hardcore Linux guy, so this might be  
something relatively easy, but I just can’t seem to figure it out.

Thanks in advance!!

Joey

## – jkinney

jkinney’s Profile: [http://forums.novell.com/member.php?userid=94150](http://forums.novell.com/member.php?userid=94150)  
View this thread: [http://forums.novell.com/showthread.php?t=445159](http://forums.novell.com/showthread.php?t=445159)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [September 22, 2011, 5:48pm UTC](https://forums.suse.com/t/yast-gui-without-root-password-prompt/21815/2 "2011-09-22T17:48:51Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

The examples in the /etc/sudoers file may help you, but (without testing  
it yet) I’d try this:

%wheel ALL=ALL NOPASSWD: /sbin/yast2

Good luck.

* * *

Want to yell at me in person?  
Come to BrainShare 2011 in October: [http://tinyurl.com/brainshare2011](http://tinyurl.com/brainshare2011)  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v2.0.15 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iQIcBAEBAgAGBQJOe0qVAAoJEF+XTK08PnB5I7QQAJKTVjjloX3g6SWTU/u2TmG8  
XaJYtBNNCo4rpEHONfZm7OmLxYwqPiigXs8pQARMt4ed7j2ag/wZNBgsnlJxQjHR  
Hzk0zmbk0BwxUW1VwzaIlMna3WsW8mAjh57P2vxKHQrz6ubLliOmrpBczCmWq75i  
EOUj2jVNPUSso+cB6uH35RSfbpivY5kJBdEOtoLWSaCUh5SFQu/aZcPzbkk+tSeu  
U5RZHkfy/qTmShuWXcxSvj3Hj7K2/j/jiEMzQZok84Fisezh1+ZShTw6u0eEg7uk  
U/VatghxtbkZ4dUk9mqrWUY636pDOJD/dDvAZ7cSKyLTEaRrLYZZU+7hURzN6ddx  
DiHS7QjZ/Clxt5vskbeL0jPlX74SX1RUvCBVpnSp1GE5FOkNy3a7FActYrbpKcQ3  
7SmbGX0k+Qy5Jm+XBvkr/h0IPtN9oq6lTqNTjIA2s5EhZlPtp8tjQucDIIJetIGu  
venNrndXlRnJ3DPYXE5mMJwhXOwHMSps0Mlon57xlxLMHag2RYqnJFWHJsmCNLL9  
MuNU5JI1FlZ8jNpMjut2xFdfK1KbznobEuCIeyYATlDhmxofRJ+Gl/iHB78Lez8U  
yP4OIvJOG0g5D26x94hBtkfEdISs8bRud1teHIgI4b11jzxTrbjmQNBYLntMqT72  
INN3MnUD0xXM7k28y5zC  
=kiDV  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [September 22, 2011, 5:53pm UTC](https://forums.suse.com/t/yast-gui-without-root-password-prompt/21815/3 "2011-09-22T17:53:38Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Okay, this one is working for me from the command line (may need to  
logout/login for graphical to work… not sure there) for one user:

myuser ALL=(ALL) NOPASSWD: /sbin/yast2

and for the wheel group:

%wheel ALL=(ALL) NOPASSWD: /sbin/yast2

This may also help you:

[http://www.novell.com/communities/node/3061/how-get-graphical-applications-working-sudo-sle-10](http://www.novell.com/communities/node/3061/how-get-graphical-applications-working-sudo-sle-10)

Good luck.

* * *

Want to yell at me in person?  
Come to BrainShare 2011 in October: [http://tinyurl.com/brainshare2011](http://tinyurl.com/brainshare2011)  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v2.0.15 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iQIcBAEBAgAGBQJOe0u0AAoJEF+XTK08PnB5IYAQAJ+bo/nrmWtKtzl0NDbiqg8s  
Yt7HRbtR1VR0JxZh74mRaDC6Hd1V6q3BcI3+uLuO6b6cX42Miw5shaV/C/coXs2H  
y6cG8XPXQMIZDVuObQRh38GXj+l+UbO7H0QZLzJnbrHOihD/A/C8Jw8/BWb/usRR  
IQMh1Ng50rUnDjpKN6D0XcchQyrwR2DRwvliGo2/BmUanbO0VboxpLLwlbSbCWt5  
Dli4d8BAXLQZrDITu0F0EyhNUgWJhl8pXIpVpJknJ9zIy83HCVgfImvY5DBp0z56  
zwmpJMkGBrCAuHIBCOkMXg+8bIgQ2ptjSsFzDa5yyj2rqb31Qz4VmWk87XAx3RxE  
38LuOv03YCfGp/7pfo3xdQHCH3eE4QcBh7rp0SlbM2K7t01bB9VmTLFdfwxwxMJh  
4zMJcr9d7XmcDnDrAsFF5dtZor3TP0fma5cBgeEekGXs9VJTVX33RPMv0fiXGPif  
id4PPRNF7diezEjJ3A4XzFM8amjSCILPgCWXpiPfy5XewRtkK7lq1dGvl4wtWHeA  
wl6aidz1sAgEds45RMvjglC6A0G/mP4xWUVfjktbtWLOo0GslfwNk4EfXQqrI9+p  
Asv1onPNp6KfLCVAJWpRHOWvs6fLs+aSKJqoO8TrYIfhb8pexue3hZqSjJjrnmrT  
xzIaj1dsHq2m2iFGHOsw  
=xuno  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [September 27, 2011, 2:58pm UTC](https://forums.suse.com/t/yast-gui-without-root-password-prompt/21815/4 "2011-09-27T14:58:57Z")

</div>

It works for the text version, but not when I try to launch YAST in GNOME.  
Here’s what my sudoers entry looks like:

username ALL=(ALL) NOPASSWD: /sbin/yast2

I already had a line that allowed all:

username ALL=(ALL) NOPASSWD: ALL

Still no luck with YAST in GNOME though. Any additional help is  
appreciated!!

JK

“ab” wrote in message [news:SZHeq.4566$8W7.2817@kovat.provo.novell.com](mailto:news:SZHeq.4566%248W7.2817@kovat.provo.novell.com)…

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Okay, this one is working for me from the command line (may need to  
logout/login for graphical to work… not sure there) for one user:

myuser ALL=(ALL) NOPASSWD: /sbin/yast2

and for the wheel group:

%wheel ALL=(ALL) NOPASSWD: /sbin/yast2

This may also help you:

[http://www.novell.com/communities/node/3061/how-get-graphical-applications-working-sudo-sle-10](http://www.novell.com/communities/node/3061/how-get-graphical-applications-working-sudo-sle-10)

Good luck.

* * *

Want to yell at me in person?  
Come to BrainShare 2011 in October: [http://tinyurl.com/brainshare2011](http://tinyurl.com/brainshare2011)  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v2.0.15 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iQIcBAEBAgAGBQJOe0u0AAoJEF+XTK08PnB5IYAQAJ+bo/nrmWtKtzl0NDbiqg8s  
Yt7HRbtR1VR0JxZh74mRaDC6Hd1V6q3BcI3+uLuO6b6cX42Miw5shaV/C/coXs2H  
y6cG8XPXQMIZDVuObQRh38GXj+l+UbO7H0QZLzJnbrHOihD/A/C8Jw8/BWb/usRR  
IQMh1Ng50rUnDjpKN6D0XcchQyrwR2DRwvliGo2/BmUanbO0VboxpLLwlbSbCWt5  
Dli4d8BAXLQZrDITu0F0EyhNUgWJhl8pXIpVpJknJ9zIy83HCVgfImvY5DBp0z56  
zwmpJMkGBrCAuHIBCOkMXg+8bIgQ2ptjSsFzDa5yyj2rqb31Qz4VmWk87XAx3RxE  
38LuOv03YCfGp/7pfo3xdQHCH3eE4QcBh7rp0SlbM2K7t01bB9VmTLFdfwxwxMJh  
4zMJcr9d7XmcDnDrAsFF5dtZor3TP0fma5cBgeEekGXs9VJTVX33RPMv0fiXGPif  
id4PPRNF7diezEjJ3A4XzFM8amjSCILPgCWXpiPfy5XewRtkK7lq1dGvl4wtWHeA  
wl6aidz1sAgEds45RMvjglC6A0G/mP4xWUVfjktbtWLOo0GslfwNk4EfXQqrI9+p  
Asv1onPNp6KfLCVAJWpRHOWvs6fLs+aSKJqoO8TrYIfhb8pexue3hZqSjJjrnmrT  
xzIaj1dsHq2m2iFGHOsw  
=xuno  
-----END PGP SIGNATURE-----
