Tim Olson tim at
Thu Jan 31 23:33:54 EST 2002

Here's an example I used:

Cmnd_Alias      PASSWORD = /usr/bin/passwd [A-z]*, !/usr/bin/passwd
root, \
                        !/usr/bin/passwd someone, !/usr/bin/passwd
thatguy, \
                        !/usr/bin/passwd superman

It allows you to change anyones password, but doesn't allow you to
change "root", "someone", "thatguy", or "superman".


"Sheahan, Tram Hoang (DIS)" wrote:
> Is there a way to configure one user in the sudo file to be able to change
> passwords for only SPECIFIC users?  I want this user to change passwords for
> a group of users, but I don't want this user to be able to change root or
> any other users that are not specified for this user to change.  Can sudo do
> this?
> Thank you
> Tram Hoang
> Tramh at

More information about the sudo-users mailing list