Hi,
In the grub menu , press E.
Goto 1st line and in the end append : init=/bin/sh

now press ENTER and the 'B' to boot.

Wen u enter the sh:#.
sh:# mount -o remount -n /
now either of the two.
sh:# passwd

or
sh:# vi /etc/passwd
in the first line beside root:x:.bla bla
just remove x.

and now your root doesnt have any password.

Regards,
Amar Akshat

On Thu, Sep 24, 2009 at 8:03 PM, Amit <[email protected]> wrote:

> oh you can change it follow following step
>
> at grub menu press e (ubuntu 8.10 must be selected)
> add "init=/bin/bash rw "( without "") at the end of line starting with
> kernel
> you will be prompt to commandline with root login
>
> #passwd <user name>
> new password
> confirm password
>
>
>
>
>
> On Thu, Sep 24, 2009 at 7:40 PM, Raghav Dwivedi <[email protected]
> >wrote:
>
> > hi,
> > I'm using Ubuntu 8.10, I forget my login password!
> > how do i recover that ?
> > _______________________________________________
> > ilugd mailinglist -- [email protected]
> > http://frodo.hserus.net/mailman/listinfo/ilugd
> > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> > http://www.mail-archive.com/[email protected]/
> >
>
>
>
> --
> Amit Bhardwaj
> m: 9968914111,
> email:[email protected] <email%[email protected]> <
> email%[email protected] <email%[email protected]>>,
>        [email protected]
> _______________________________________________
> ilugd mailinglist -- [email protected]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/[email protected]/
>



-- 
Research Associate,
MIT-LEACH Simulation.

Still in the,
Dept. Of Computer Engineering,
Sikkim Manipal Institute Of Tech

Phone # : +919932389841
www.ramaprasad.info
www.geocities.com/algeekoders.



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

Reply via email to