On Wed, Sep 19, 2001 at 10:23:44AM +0530, Santanu Chatterjee wrote:
> 
> Hello everybody,
> 
> In our college, our  professor  has forgotten the root
> password in one of the Linux computers. And I am asked 
> to fix it.
> 
> I read somewhere that entering linux using 'linux single'
> is the way to do so. Assuming I enter linux in single user 
> mode, then what do I do. If I do  # passwd
> then will it not ask for the old one, which, of course is 
> forgotten ?
> 
> --__--__--
---end quoted text---

The way to do it is in the LOST tip below. The password 
command will NOT ask you for the old pass word.

Bish

-- 
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Loss of root password                          LOST #029

Log in to Single user mode. At the LILO boot prompt type in:

linux 1 init=/bin/sh root=/dev/hdaN mount rw
(where N is the number of your root partition)

Then change the password for root with the command:
#passwd

####<[EMAIL PROTECTED]>####################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to