LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-23-2002, 07:41 PM   #1
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
Exclamation Forgotten Password!! (I'm gonna shoot me)


Hi all....
yeah, thought it would never happen to me. eckkk!
it did....
I haven't used this computer in like 4 weeks because it is my sisters...and I was the only one who knew the root password, but I was careless enough to forget about it.....and now I need a little bit of help!

Lilo is installed on this computer, so I am able to type

linux init=/bin/sh

which takes me to the init prompt.
I was told that I should remount / but when I tried it, it said that it was already mounted....
perhaps I should umount and then mount it again?

anyway....next step is to passwd -d root
which removes completely the root password from the system, so that I could reset it.
I typed this, and everthing was working ok.....changing root password, removing root password...passwd ERROR!!! other processes are locking the resources, passwd Error.

and that's where it ends, and when I tried rebooting and trying to login as root....I can see that it didn't work....Can someone please help me out a little bit?
I think I may be close, but I'm doing something wrong!
appreciate your help guys!,
 
Old 03-24-2002, 09:32 AM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
this might help... Try searching the site. there are lots of threads on this issue.

http://www.linuxquestions.org/questi...+root+password
 
Old 03-24-2002, 10:54 AM   #3
nikhiljosh
Member
 
Registered: Jun 2001
Posts: 126

Rep: Reputation: 16
at lilo prompt type

linux single

you'll get root prompt
type
#passwd

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gonna Shoot Myself.. (What Not To Do) ToBe Linux - Newbie 5 09-02-2005 06:15 PM
if the root password is forgotten..... AnimaSola Linux - Software 1 05-31-2005 10:12 PM
forgotten password for mysql kalikoder Linux - Software 1 09-24-2003 05:11 PM
Root Password FORGOTTEN kajensen Linux - Newbie 4 08-11-2003 02:06 AM
forgotten password ronss Linux - Distributions 4 04-01-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration