[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Hi all,



Boot with

	linux init=/bin/sh

Then in single-user mode,

	mount -oremount,rw -n /
	vi /etc/passwd (or /etc/shadow)
	mount -oremount,ro -n /

and reboot (switch off and on if necessary).

Regards,

- -- Raju

>>>>> "Sanjay" == sanjay  <sanjay@xxxxxxxxxxxxx> writes:

    Sanjay> Hi, thanks for the info.  I tried this way but again it
    Sanjay> asks for the root password to login.

    Sanjay> Sanjay.


    Sanjay> RADHAKRISHNAN C V wrote:
    >>  On Mon, 7 Jun 1999, sanjay wrote:
    >> 
    >> > Hi friends, > I forgot the root password of my machine. Is it
    >> possible to > retrieve/change it > either thro' setup or while
    >> booting? Unfortunately I don't have the > boot
    >> 
    >> during boot up, when you see lilo: just type linux single and
    >> press enter key.
    >> 
    >> radhakrishnan

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------