The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to set new Root Passwd gini SUN Solaris 2 12-05-2006 01:33 PM
Recover root passwd gini SUN Solaris 5 11-29-2006 05:09 AM
Need to change root passwd mayewil UNIX for Dummies Questions & Answers 4 10-27-2006 03:03 PM
root passwd expiration on AIX aixguy AIX 1 05-19-2006 01:19 AM
Preventing passwd root? scottsl UNIX for Advanced & Expert Users 4 01-06-2006 09:32 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8  
Old 05-22-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,616
Quote:
Originally Posted by linuxaddict7 View Post
Check the permission of /etc/shadow and /etc/passwd
I guess you missed...
Quote:
Originally Posted by techbravo View Post
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.
Reply With Quote
Forum Sponsor
  #9  
Old 06-03-2008
Registered User
 

Join Date: Apr 2008
Posts: 10
delete the md5 hash from /etc/shadow

EXAMPLE:-
root:$1$VB6ha9a1RHfQ8vpcA.:14030:0:99999:7:::
delete md5 hash only.
root::14030:0:99999:7:::
Reply With Quote
  #10  
Old 07-02-2008
techbravo's Avatar
Registered User
 

Join Date: Mar 2008
Posts: 13
resolved long back....


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 ........... hurray
Reply With Quote
  #11  
Old 07-02-2008
techbravo's Avatar
Registered User
 

Join Date: Mar 2008
Posts: 13
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 >
Reply With Quote
  #12  
Old 07-20-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
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.
Reply With Quote
  #13  
Old 07-21-2008
techbravo's Avatar
Registered User
 

Join Date: Mar 2008
Posts: 13
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0