[Ilugc] root passwd

  • From: smohan@xxxxxxxx (S Mohan)
  • Date: Sat, 28 Dec 2002 07:41:54 +0530

I've seen specific boot floppies on the Net that help you reset root
password. In case you cannot get it, just download tomsrtbt. It creates
a boot floppy and on boot copies (expands rather) the full filesystems
into ramdisk and operates out of ramdisk. You can then mount your root
partition, edit the /etc/passwd and/or /etc/shadow file, remove the
password and boot. No password will be asked. Change the password then
after boot.

Mohan

-----Original Message-----
From: ilugc-admin@xxxxxxxxxxxxxxxxxx
[mailto:ilugc-admin@xxxxxxxxxxxxxxxxxx] On Behalf Of Prakash
Chandrasekaran
Sent: Friday, December 27, 2002 6:49 PM
To: ILUGC
Subject: Re: [Ilugc] root passwd


Hi,

        You may not always land up at the root prompt!

        By default GNU/Linux/Debian (let me be safe) systems start up 
slogin and not bash. Which means you need root password to boot into 
single user mode.

        If single user mode fails, then you may try using a rescue
floppy. Or an installation CD-Rom (choose rescue mode).

        Well, there's another neat way to do it by using the other
kernel 
parameters! Go ahead and read the docs to find out!


On Mon, Dec 23, 2002 at 11:00:20AM -0600, Manikandan P. wrote:

Hi

i forgot root passwd in my gnu/linux based RH. is it possible to 
reset the root passwd? if yes, how can i do so? Thanks in advance.

boot into your system by typing
#linux 1
at the boot prompt
you will be landing at the root prompt.
#passwd -d root
now give
init <runlevel>


Happy Hacking
Manikandan P.


_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc

-- 
-pc.
(Prakash Chandrasekaran)

prakash_c@xxxxxxxxxxxxxxxxxxxxx

http://www.cmi.ac.in/~prakash http://cloud.prohosting.com/~bkool

public key : http://www.cmi.ac.in/~prakash/public_key.txt
             [public key was modified on 24th April 2002]
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc


Other related posts: