[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] Linux Single
On Wed, 8 Dec 1999, Aruneesh Salhotra wrote:
> Hi,
> I was trying to retrieve a PC, in which there were two partitions, Win 95 and
> LINUX (kernel 2.1).
>
> The problem was that the root password was lost.
> So tried the "LINUX SINGLE method". But even then it was asking me for a root
> password.
>
> Can somebody help me with this.
>
> What i did was that, at the LILO PROMPT ... : i entered "linux single".
> But even then it was asking me for a root password.
>
> Can someone help me on this.
Here are some excerpts from Raj's mail which he sent when i had
the same difficulty quite sometime back.
---------------
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).
-- Raju
------------------------
sudheer
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.