Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Security
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change root passwd without original passwd

SOLVED
Go to solution
Carme Torca
Super Advisor

How to change root passwd without original passwd

Hi,

 

I need to change root passwd, but it ask me for Old passwd, and we don't have it.

 

#passwd  root
Old password:

 

How can I change this passwd if I don't know Old root passwd?

 

Thanks a lot of,

Carmen.

Users are not too bad ;-)
5 REPLIES
Torsten.
Acclaimed Contributor

Re: How to change root passwd without original passwd

Did you try

 

/sbin/passwd


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Carme Torca
Super Advisor

Re: How to change root passwd without original passwd

Yes, I tried

 

# /sbin/passwd  root
Old password:

 

Users are not too bad ;-)
Torsten.
Acclaimed Contributor

Re: How to change root passwd without original passwd

Are you root currently?

How about just

/sbin/passwd

(without root at the end)

Note:

Superusers are not prompted for old passwords, unless
they are attempting to change a superuser's password in a trusted
system.


Is it trusted?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Carme Torca
Super Advisor

Re: How to change root passwd without original passwd

Yes, the systems is in trusted mode.

 

When I put /sbin/passwd it ask me for the passwd name

 

# /sbin/passwd
Usage: passwd name

 

Users are not too bad ;-)
Highlighted
Carme Torca
Super Advisor
Solution

Re: How to change root passwd without original passwd

I have the solution!!!

 

# cd /tcb/files/auth/r/

and then delete the actual encrypted password from the root file.

 

Thaks everyone.

Users are not too bad ;-)