Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to recover a unix root password?

Status
Not open for further replies.

m_mosazadeh

Member level 4
Member level 4
Joined
Apr 25, 2004
Messages
69
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,286
Location
iran
Activity points
350
unix root password

hello all,

I forgot my unix root password. can anyone help me that I recover my

password?





with vey best wishes
 

Re: unix root password

Boot into single user mode (from HD or from CDROM)...and reset root password...

Well..you have to remount your root partition rw of course (o;
 

Re: unix root password

Reboot your machine in single mode. Afterwards for instance in Solaris you have to change your root passwd.

mount your disk involving your /etc directory.

Go into /etc and edit the shadow file with vi.
the 1st line usually looks like this:

root:sdo3md3:1245:::::

The second entry (here sdo...) has to been deleted in such a way that the first line look like this:

root::1245:::::

Reboot your machine in normal mode (no rootpasswd is needed to login!)and change your rootpasswd using passwd.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top