Root passwd change and sudo

Root passwd change and sudo

Post by Jeffrey T Eato » Sat, 11 Feb 1995 01:12:30

I recently changed my root password, and everything works fine (logging
in on console, su root) except for sudo (the command that lets you
execute one command at root).  Sudo will only accept the OLD root
password.  If I use the new root password, it fails with:

Sorry, try again.

Any ideas?


Sophomore, Mathematics/Computer Science at Carnegie Mellon University


1. Changing nis+ root passwd

Hi there,

I want to change the root password for nis+ master servers, replicas, and

Here are the steps that I will do, but I am not sure if I missing something:

1 - on each nis+ server, replica, and client:

        a - # /bin/passwd root

        b - # chkey -p
            Updating nisplus publickey database.

   *        Please enter the Secure-RPC password for root: "old password"
            Please enter the login password for root: "new password"

            * Does the "old root password" go here ??.

        c - # keylogin -r
            Password: "new password"
            Wrote secret key into /etc/.rootkey

I want to make sure that these steps are 100% right before I implement
them. (I do not want to mess the nis+ domains).

I will appreciate your feedback.

Thank you.

Bassem Zahabi                      |    
Unix Systems Administrator         |
Open Systems Group - ITD           | PH: 404-727-1171
Emory University                   | FX: 404-727-2599
Atlanta, Georgia 30322             |


2. newbie: change icons from desktop prg's

3. Help: Stupid mistake when changing root shell in /etc/passwd

4. fread()

5. How can change the root passwd...

6. FreeBSD UK User's Group

7. NIS+ and changing root passwd

8. US Robotics ISA modem setup under Linux on Gigabyte GA-5AX?

9. Root passwd has been changed....

10. problem with NIS+ root passwd change

11. locked my root account out, by changing /etc/passwd - Any Ideas??????

12. problem changing root's passwd

13. root nis+ passwd to change