No sudo password for update-manager?
ulist at gs1.ubuntuforums.org
Fri Oct 7 16:29:04 UTC 2005
>From the manual:
> NOPASSWD and PASSWD
> By default, sudo requires that a user authenticate him or
> before running a command. This behavior can be modified via
> NOPASSWD tag. Like a Runas_Spec, the NOPASSWD tag sets a
> default for
> the commands that follow it in the Cmnd_Spec_List. Conversely,
> PASSWD tag can be used to reverse things. For example:
> ray rushmore = NOPASSWD: /bin/kill, /bin/ls, /usr/bin/lprm
> would allow the user ray to run /bin/kill, /bin/ls, and
> as root on the machine rushmore as root without authenticating
> If we only want ray to be able to run /bin/kill without a
> password the
> entry would be:
> ray rushmore = NOPASSWD: /bin/kill, PASSWD: /bin/ls,
> Note, however, that the PASSWD tag has no effect on users who
> are in
> the group specified by the exempt_group option.
> By default, if the NOPASSWD tag is applied to any of the entries
> for a
> user on the current host, he or she will be able to run sudo -l
> a password. Additionally, a user may only run sudo -v without a
> word if the NOPASSWD tag is present for all a users entries
> that per‐
> tain to the current host. This behavior may be overridden via
> the ver‐
> ifypw and listpw options.
Type 'man sudoers' at the command prompt for more info.
More information about the ubuntu-users