[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: root password recovery



On Fri, 3 Aug 2001 11:09:45 +0100 "Kapil Sharma" <linux4biz yahoo com>
imparted to us:

> HI,
> I have lost my root password on linux server. I am
> running redhat 7.1.
> I have following queries:
> 1: First of all how to disable linux single command so
> that it cannot be executed from lilo prompt?
man lilo.conf

Look for the password stuff in that manpage.

Not a good idea, I'd think, considering you need a backdoor right now.
What happens if you need it in the future and you've closed it down and
'lost' that password, too?

> 2: id linux single has been already disabled then how
> can i recover my root password and boot my system
> again.

Reinstall. Going in rescue mode _MIGHT_ be another way. If a bootdisk
availble, that can get you in and can also be password protected. Again,
if you lose a password once, having another one to have to go through
might not be a very good idea.

> 3: What are the fifferent ways to recover root
> password.

Trial-and-error, get in with one of the rescue methods above, wild
guess.

-- 
Earth first!  We'll strip-mine the other planets later.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]