forgot root passwd


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat forgot root passwd
# 8  
Old 05-22-2008
Quote:
Originally Posted by linuxaddict7
Check the permission of /etc/shadow and /etc/passwd
I guess you missed...
Quote:
Originally Posted by techbravo
i even tried 'rm shadow' that dosent help as welll.....!!
Removing the shadow file is not a real great idea. I'm not sure that Linux can function without it.
# 9  
Old 06-03-2008
delete the md5 hash from /etc/shadow

EXAMPLE:-
root:$1$VB6ha9a1RHfQ8vpcA.:14030:0:99999:7:::
delete md5 hash only.
root::14030:0:99999:7:::
# 10  
Old 07-03-2008
resolved long back....

Smilie
sorry for late reply ....!!

to recover root pwd , what i did was boot in single user mode then did

1)pwconv that created shadow and pwd file in /etc then

2)sync - that synced both files shadow and pwd , after that i re-booted the system again in single user mode

3)then re-set passwd for root ........... Smilie hurray Smilie
# 11  
Old 07-03-2008
file system error

hi

now that i have loged in as root and have been navagating for some time i did a init 6 or 8 not remembering that seems to have created a problem in re-starting system and that is throwing some error as
"please select Y to have file system check as there is some discrepency "

now if we select Y that starts file system checkup and at the end it re-boots the system , this is a looping thing .........

and if we dont select Y for fs check then it freazes the system only at cnt +D it gose to next line and then re-boots again this is also is a looping thing...........

plz check .....

techbravo >">techbravo >">techbravo >">techbravo >
# 12  
Old 07-21-2008
I fsck cannot repair the disk, you will probably need to replace it. For emergency troubleshooting, perhaps you can boot from a CD or USB stick again.
# 13  
Old 07-22-2008
perhaps i can boot in single user mode after modefing the kernel options.
but i want it to be repair, permenantly not tempr..
i think the disk have to be re-structured for unix partation .... what say ?

techbravo
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

I have forgot my root password. Solaris 10

hi everyone i have forgot my root password and i have other user to login. can i get the password without restarting the server as that cant be afforded. . it is a Sparc architecture 2U blade server. it is old server mounted and functional since 2009. what should be the modus oprandee. i am novice... (5 Replies)
Discussion started by: janakors
5 Replies

2. Web Development

Forgot MYSQL password root

I have VPS openSUSE 12.2 I forgot MYSQL password root when i run in CMD: > mysql Error Message Show : >> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) (6 Replies)
Discussion started by: CloudniX
6 Replies

3. Red Hat

Forgot Passwd

Dear all, I am using RHEL5. In that machine i forgot the root passwd. But i can able to login by using my username. But performing administrative tasks it will asks the root login. Can somebody tell me reset the root passwd. Thanks in advance. Regards, Prakashkumar.S (2 Replies)
Discussion started by: prakashkumar41
2 Replies

4. UNIX for Dummies Questions & Answers

Forgot root password

i am a new user of unix . i lost my SGI unix server root password Any body please help me,how get password? (2 Replies)
Discussion started by: vasu.k82
2 Replies

5. AIX

root passwd expiration on AIX

Hi Guys, some one could help me on this that will be great . I have AIX 5.1 . when ever u login as root .it says u r passwd is expiredchoose new passwd . I tried couple of times changeing the passwd .still it behaves every time u login it asks to change the passwd . i teied to lokk into... (3 Replies)
Discussion started by: aixguy
3 Replies

6. UNIX for Dummies Questions & Answers

hw to reterive root passwd

heyy i forgot my root passwd but i cant reinstall due to some reason can anyone tell me hw to reterive root passwd (10 Replies)
Discussion started by: mightypp.nits
10 Replies

7. Solaris

How to set new Root Passwd

I forget the Root Passwd of my Sun Netra 20 server and break the same by editing /etc/shadow.Now there is no passwd for Root. And How to set new root passwd?Pls help.... (2 Replies)
Discussion started by: gini
2 Replies

8. Solaris

Recover root passwd

Any body pls let me know the procedure to recover ROOT password in Sun Netra 20 Server..I forgot the password. (5 Replies)
Discussion started by: gini
5 Replies

9. UNIX for Dummies Questions & Answers

Need to change root passwd

I booted up Sun V240 server with boot cdrom -s using the Sun Operating System CD. I now am at the # prompt and su - root . The system will not allow me to set password for root. Get following error: # passwd New Password: xxxxxxxx Re-enter new Password: xxxxxxxx passwd: Unexpected failure. ... (4 Replies)
Discussion started by: mayewil
4 Replies

10. UNIX for Advanced & Expert Users

Preventing passwd root?

I knew it would happen sooner or later.... We have a requirement that specific individuals need "sudo root" authority. I knew it only a matter of time before someone decided to change the root password (at least they owned up to it). Now the question is how can I grant all rights except... (4 Replies)
Discussion started by: scottsl
4 Replies
Login or Register to Ask a Question