Re: [ilugd] PASSWORD LOST

2008-08-20 Thread MALKIAT BENIPAL
> KERNEL /VMLINUZ-2.4.18-14 RO ROOT=LABEL=/


kernel /vmlinuz-2.4..18-14 rw root=/ init=/bin/sh

OR

kernel /vmlinuz-2.4.18-14 rw root=/ init=/bin/bash

OR

change ro to rw and append 2 (or level=2)
at the end of the line

===
Sir, tried all the three options but it did not work. At last tried single and 
it worked. Anyway thanks a lot for providing your valuable support.
Malkiat


  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-19 Thread Varun Mittal
Easiest method is to boot from a ubuntu or any other live cd of same
architect mount the root file system
and just do 'chroot'
and then chpasswd
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-19 Thread Mani A
MALKIAT BENIPAL <[EMAIL PROTECTED]> wrote:

> this is the kernal line :
> KERNEL /VMLINUZ-2.4.18-14 RO ROOT=LABEL=/

> Tried it but after pressing b (booting) coming across?error as kernel panic, 
> so not able to boot as super user mode.

kernel /vmlinuz-2.4.18-14 rw root=/ init=/bin/sh

OR

kernel /vmlinuz-2.4.18-14 rw root=/ init=/bin/bash

OR

change ro to rw and append 2 (or level=2)
at the end of the line

Best

A. Mani


-- 
A. Mani
Member, Cal. Math. Soc

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread Mani A
MALKIAT BENIPAL <[EMAIL PROTECTED]> wrote:

> After defining 'single' at the last of kernal line, coming across kernal 
> panic error. Pl? guide what could be the >problem...? thanks

You can see a short article on recovery at

http://www.ilug-cal.info/index.php?option=com_content&task=view&id=108&Itemid=36

(It is in the articles --> newbie section)

Best

A. Mani



-- 
A. Mani
Member, Cal. Math. Soc

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>You should append 1 to the end of your kernel boot line in the grub 
>menu. 1 is single user mode (run level 1 ) and will boot you directly 
>into a root shell. You can then use passwd to change your password. Then 
>reboot or type init 5 and you system should come fully up.

I think that is only applicable for Gento GNU/Linux.

Ashish
- -- 
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkipnHYACgkQHy+EEHYuXnTD7gCcDwM7e3l1ZUmU0PIO/v5MlD0L
K7gAoNYcRLUl5cxSl4zhBESgbVZpd0kc
=VWOQ
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread justintmoore22
You should append 1 to the end of your kernel boot line in the grub 
menu. 1 is single user mode (run level 1 ) and will boot you directly 
into a root shell. You can then use passwd to change your password. Then 
reboot or type init 5 and you system should come fully up.

Justin
On Mon, 18 Aug 2008 10:07 am, VIKAS RATHEE wrote:
> boot ur system through the super user mode using the bootable Cd you 
> can
> find the info using googling. You can reset ur password for the super 
> user
> using it .
>
> You dont need a reinstall.
>
>
>
> On Mon, Aug 18, 2008 at 12:48 PM, MALKIAT BENIPAL 
> <[EMAIL PROTECTED]>wrote:
>
>>  Dear all,
>>  I forgot root password of my linux (red hat). Could any please guide 
>> if I
>>  could locate it through any way or I have reinstall the same.
>>  Thanks/MALKIAT
>>
>>  [EMAIL PROTECTED]
>>
>>
>>   Connect with friends all over the world. Get Yahoo! India 
>> Messenger at
>>  http://in.messenger.yahoo.com/?wm=n/
>>  ___
>>  ilugd mailinglist -- ilugd@lists.linux-delhi.org
>>  http://frodo.hserus.net/mailman/listinfo/ilugd
>>  Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
>>  http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>>
>
>
>
> --
> Vikas Rathee
> Mobile: +91 99719 98912
> ___
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread VIKAS RATHEE
boot ur system through the super user mode using the bootable Cd you can
find the info using googling. You can reset ur password for the super user
using it .

You dont need a reinstall.



On Mon, Aug 18, 2008 at 12:48 PM, MALKIAT BENIPAL <[EMAIL PROTECTED]>wrote:

> Dear all,
> I forgot root password of my linux (red hat). Could any please guide if I
> could locate it through any way or I have reinstall the same.
> Thanks/MALKIAT
>
> [EMAIL PROTECTED]
>
>
>  Connect with friends all over the world. Get Yahoo! India Messenger at
> http://in.messenger.yahoo.com/?wm=n/
> ___
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>



-- 
Vikas Rathee
Mobile: +91 99719 98912
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread MALKIAT BENIPAL
Dear fellow,
After defining 'single' at the last of kernal line, coming across kernal panic 
error. Pl  guide what could be the problem...? thanks

 
MALKIAT

At grub prompt hit "e" on your keyboard, highlight and edit the line
that starts with "kernel." and at the end append the word "single
"

Now boot and you will be in root prompt. Change password.

Regards,
Sudev Barar


  Add more friends to your messenger and enjoy! Go to 
http://in.messenger.yahoo.com/invite/
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread MALKIAT BENIPAL
Hello sir
upon defining command at top of the line by pressing e (in the grub boot menu), 
and then pressing b for booting, coming across as 'Unrecognised Command'. 
Please guide where I am committing mistake.
thanks
 
MALKIAT
 
[EMAIL PROTECTED] 

Hey,

Its not at all a problem if u loose a password. U cant retrieve it ..thats
for sure because its encrypted by a Trap-Door Algorithm which is one-way
encryption. but u can always change it.
Wat u can do is ..in ur grub menu while booting .before u boot into linux
press 'e'. to edit the menu. In the boot sequence first line u append
"init=/bin/sh"
then u boot.! after u r in , u get a prompt like "sh#"
there u write
# mount -o remount -n /
u then give the passwd command..like
# passwd
simply change ur password by giving new one.

Another trick is ..!
when u get sh# prompt ..simply in next prompt do # vim /etc/passwd
n from the first line ...erase the 'x' beside root.! ur root is passwrodless
now..!


Amar Akshat
On Mon, Aug 18, 2008 at 12:48 PM, MALKIAT BENIPAL <[EMAIL PROTECTED]>wrote:

> Dear all,
> I forgot root password of my linux (red hat). Could any please guide if I
> could locate it through any way or I have reinstall the same.
> Thanks/MALKIAT
>
> [EMAIL PROTECTED]
>
>
>      Connect with friends all over the world. Get Yahoo! India Messenger at
> http://in.messenger.yahoo.com/?wm=n/
> ___
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>



-- 
V.P , AGE
Certified Ethical Hacker,
Dept. Of Computer Engineering,
Sikkim Manipal Institute Of Tech.


"Where You See a Feature I See a Flaw.."
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www..mail-archive.com/ilugd@lists.linux-delhi.org/



  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread amar akshat
Hey,

Its not at all a problem if u loose a password. U cant retrieve it ..thats
for sure because its encrypted by a Trap-Door Algorithm which is one-way
encryption. but u can always change it.
Wat u can do is ..in ur grub menu while booting .before u boot into linux
press 'e'. to edit the menu. In the boot sequence first line u append
"init=/bin/sh"
then u boot.! after u r in , u get a prompt like "sh#"
there u write
# mount -o remount -n /
u then give the passwd command..like
# passwd
simply change ur password by giving new one.

Another trick is ..!
when u get sh# prompt ..simply in next prompt do # vim /etc/passwd
n from the first line ...erase the 'x' beside root.! ur root is passwrodless
now..!


Amar Akshat
On Mon, Aug 18, 2008 at 12:48 PM, MALKIAT BENIPAL <[EMAIL PROTECTED]>wrote:

> Dear all,
> I forgot root password of my linux (red hat). Could any please guide if I
> could locate it through any way or I have reinstall the same.
> Thanks/MALKIAT
>
> [EMAIL PROTECTED]
>
>
>  Connect with friends all over the world. Get Yahoo! India Messenger at
> http://in.messenger.yahoo.com/?wm=n/
> ___
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>



-- 
V.P , AGE
Certified Ethical Hacker,
Dept. Of Computer Engineering,
Sikkim Manipal Institute Of Tech.


"Where You See a Feature I See a Flaw.."
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread Sudev Barar
2008/8/18 MALKIAT BENIPAL <[EMAIL PROTECTED]>:
> I forgot root password of my linux (red hat). Could any please guide if I 
> could locate it through any way or I have reinstall the same.

At grub prompt hit "e" on your keyboard, highlight and edit the line
that starts with "kernel." and at the end append the word "single
"

Now boot and you will be in root prompt. Change password.
 --
Regards,
Sudev Barar
Read http://blog.sudev.in for topics ranging from here to there.

PS: I know most of people do not follow email niceties (mostly they
are not aware) but if you follow bottom post/in-line post style of
email conversations it becomes a whole lot easier to carry on
meaningful dialogue and you can snip out what is not meaningful too.
Most people just hit reply button and top post leaving prior message
appended uselessly at bottom. See if you can adopt this style and
persuade others. In case you are already doing this . great,
spread the message.

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PASSWORD LOST

2008-08-18 Thread Sahil Dave
On Mon, Aug 18, 2008 at 12:48 PM, MALKIAT BENIPAL <[EMAIL PROTECTED]>wrote:

> Dear all,
> I forgot root password of my linux (red hat). Could any please guide if I
> could locate it through any way or I have reinstall the same.


http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Flinuxgazette.net%2F107%2Ftomar.html&ei=vCKpSPStHJiq6gPjmu14&usg=AFQjCNFy0eyTEHTTMorJzXvc04qsEe60Zg&sig2=R3jN-W3DHGjY8oSef_xscg


-- 
Sahil
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/