I want to run zypper without being asked for the root password. So I added the commands to the sudoers file:
# User alias specification
User_Alias ADMIN = XXXX #note: this is not real username.
# User privilege specification
root ALL = (ALL) ALL
ADMIN ALL = NOPASSWD:/usr/sbin/vpnc ,/usr/sbin/vpnc-disconnect ,/usr/bin/zypper ref ,/usr/bin/zypper up
But I’m still being asked for password. I should note the the vpnc commmand is working as expected. Any thoughts on why this is not working?
On Thu, 22 Apr 2010 18:46:01 +0000, ccin1492 wrote for a reply:
> I want to run zypper without being asked for the root password. So I
> added the commands to the sudoers file:
>
>
> Code:
> --------------------
> # User alias specification
> User_Alias ADMIN = XXXX #note: this is not real username.
>
> # User privilege specification
> root ALL = (ALL) ALL
> ADMIN ALL = NOPASSWD:/usr/sbin/vpnc ,/usr/sbin/vpnc-disconnect
> ,/usr/bin/zypper ref ,/usr/bin/zypper up
> --------------------
>
>
> But I’m still being asked for password. I should note the the vpnc
> commmand is working as expected. Any thoughts on why this is not
> working?
>
> Thanks.
Code:
User alias specification
User_Alias ADMIN = XXXX #note: this is not real username.
User privilege specification
root ALL = (ALL) ALL
XXXX ALL = NOPASSWD: (/usr/sbin/vpnc ,/usr/sbin/vpnc-disconnect
,/usr/bin/zypper re ,/usr/bin/zypper up)
There are a variety of these products available. You can find whitening trays, strips, and other formulations that are promoted to result in paparazzi worthy pearly whites with constant use. Modern cosmetic dentistry can now make your pearly whites whiter than pearls. Pro Cleanse Alta White Teeth