[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] I forgot ROOT password... How do i get it back...??????????
check out :
if u installed LILO :
type linux single on LILO prompt it drops u on #
shell
then change password there
else
if u have Boot disk of linux
boot from it mount u r hard disk partition to /mnt
edit file /mnt/etc/paaswd
1. find line have root in the starting its like
root:X:0:0::/root:/bin/bash
delete X from it
it look like now
root::0:0::/root:/bin/bash
save it
2. now open /mnt/etc/shadow file and edit it
find line like
root:Ade34sfss:0:0::/root:/bin/bash
delete second field
and change it to
root::0:0::/root:/bin/bash
save it
reboot u r system with hard disk
u done it
Mak
--- Rajesh Divakaran <rajesh_diva@xxxxxxxxxxx> wrote:
> Hi everyone,
>
> I have PCQ RH6.1 running on my workstation. Last
> night i changed the
> password of root. AND today morning i find that I
> have FORGETTEN the
> password that i gave .
> As a result i'm not able to login as root.
> IS there a method to remove the root password or any
> methods to get access
> to my system back..!!!
> Kidnly send me all IN DETAILS....!!!!
>
> Some Help , I'm TRAPPED....!!!!
>
> rgds
> Rajesh
>
______________________________________________________
> Get Your Private, Free Email at
> http://www.hotmail.com
>
>
--------------------------------------------------------------------
> 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.
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--------------------------------------------------------------------
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.