Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Digital Unix Root Password Unknown

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Our digital unix administrator left without giving us the administrative password and we are not allowed to contact him to get the information. What is the best way to get the password and change it?

Thanks for any help you can provide.
 

I know only the way is hard-boot the system is.You need to reboot the system as a single user mode by power switch and when you get prompt logon as single user mode with boot -fl S and then change the root user password .

 
Booting single-user only grants read-only access to the system. You will need to run the following commands after booting single-user to be able to edit the password out of /etc/passwd

mount -u /
mount /usr
vi /etc/passwd
 

Hi funkyd
Just to know ,why do you need to edit passwd file ?In my knowladge you only need to logon as a single user and then change password by passwd command.Please correct it if i am wrong.


Thanks.

 
I like this forum. unixadmin you're right, once u login and the /usr is mounted you should be able to run passwd and just change the admin password as root. The /etc/passwd file has the passwd encrypted, so editing it won't help much.

jsharpe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top