Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 31-07-2005, 07:29 PM   #1 (permalink)
Alpha Geek
 
godsownman's Avatar
 
Join Date: Feb 2005
Location: Bombay
Posts: 879
Default Root password


Today I was messing with the Linux administrative settings and I really messed them up.

I managed to find out a way to lock the user accounts but I dont know how I also managed to

lock up the root account.

As a result now I am completely and royally stranded with all the main administrative settings held up by the root password.

But I cannot even change the root password as I have LOCKED it up,

I know that I have really messed up .

Can anybody please help me out and help me undo the mess and try to unlock the root account

so that I can again normally work.

Please do help.
godsownman is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 31-07-2005, 07:30 PM   #2 (permalink)
Alpha Geek
 
godsownman's Avatar
 
Join Date: Feb 2005
Location: Bombay
Posts: 879
Default

Ok fine if that is not possible please do tell me how to make another account get the root status.

I think even that feature is held up by the root password.

I am using Red hat 9.0
__________________
From the body of one guilty deed a thousand ghostly fears and haunting thoughts proceed !

Visit (http://www.meebo.com)
godsownman is offline  
Old 31-07-2005, 08:29 PM   #3 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

See tuxfan's post in this thread -

http://www.thinkdigit.com/forum/viewtopic.php?t=15125

If that doesn't work, boot from any live/rescue CD, mount your linux partitions, and edit the file /etc/passwd on your linux partition. Blank out the string after the second colon (it may be marked as x) in the line which starts with root, and save the file.

That is, if the line is like this, initially

Code:
root:x:0:0:root:/root:/bin/bash
Make it

Code:
root::0:0:root:/root:/bin/bash
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 31-07-2005, 08:30 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: May 2005
Location: INDIA
Posts: 24
Default

Hi There,

For changing the root passwd ::

Just boot Into init 1 mode from grub screen ( if grub is not locked ) and reset ur root passwd.

Else u can try to boot into linux rescue mode and then mount ur linux parttion and just change ur root passwd .

Hope this helps u out !

Ur's
Utsav Handa
handautsav [at] hotmail.com
__________________
Ur\'s
Utsav Handa {:-)
utsavhanda is offline  
Old 01-08-2005, 03:37 PM   #5 (permalink)
Alpha Geek
 
godsownman's Avatar
 
Join Date: Feb 2005
Location: Bombay
Posts: 879
Default

Thanks Ujjwal and utsavhanda,

I shall try them out and get back to you .

Thanks a lot .
__________________
From the body of one guilty deed a thousand ghostly fears and haunting thoughts proceed !

Visit (http://www.meebo.com)
godsownman is offline  
Old 01-08-2005, 03:38 PM   #6 (permalink)
Alpha Geek
 
godsownman's Avatar
 
Join Date: Feb 2005
Location: Bombay
Posts: 879
Default

Thanks Ujjwal and utsavhanda,

I shall try them out and get back to you .

Thanks a lot .
__________________
From the body of one guilty deed a thousand ghostly fears and haunting thoughts proceed !

Visit (http://www.meebo.com)
godsownman is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 04:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2