YAST Gui without Root Password Prompt

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
View this thread: http://forums.novell.com/showthread.php?t=445159

-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - 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-----

-----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

Good luck.


Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - 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-----

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

-----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

Good luck.


Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - 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-----