Preventing the change of root password

Benjamin Lee ben at
Tue Apr 11 05:04:56 EDT 2000

I'm new too but I think I can point you in the right direction.

This is from the sudoers man page:

pete           HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root

       The user pete is allowed to change anyone's password except for
root on the HPPA machines.  Note that this
       assumes passwd(1) does not take multiple usernames on the command

On Tue, 11 Apr 2000 pjoshi at wrote:

> Hi Everybody,
> I am new to the list and am sorry if this has been answered before.
> I have given my sudo users the previlege to change the passwords. But in
> that case they can also change the password of root. Is there a way, they
> can be prevented from changing the root's password but at the same time be
> able to change any other user's password.
> Any help will be highly appreciated
> Regards,
> P Joshi.


| Benjamin Lee                                 |                        |
| Internet Administrator                       |  Mobile:  0416 122 779 |
| PowerNET Computer Consultants P/L            |  Fax:   +613 9425 9091 |
| 50 Madden Grove, Burnley 3121 VIC Australia  |  Phone: +613 9425 9090 |

Reality is for people who lack imagination.

More information about the sudo-users mailing list