when you boot normally and login as root type "init 1" and the system will
boot into single user mode.

More info about run levels.

The following table summarizes the User Linux run levels:

* 0 System Halt
* 1 Single user
* 2 Full multi-user mode (Default)
* 3-5 Same as 2
* 6 System Reboot
-Mike

On Wed, Apr 15, 2009 at 11:26 AM, Elvedin Trnjanin <trnja001 at umn.edu> wrote:

> I've tried this on my laptop after forgetting all of my passwords and it
> did drop me to a root shell. When I tried to do a 'passwd' to change
> mine, it only allowed me to type in one character before accepting it as
> an entry. Look out for that issue so you don't overwrite the password to
> an account you do know the password to.
>
> If you have better luck, please report back.
>
> greg wm wrote:
> > add to kernel boot line:  init=/bin/bash
> >
> > On Wed, Apr 15, 2009 at 10:03 AM, Raymond Norton <admin at lctn.org
> > <mailto:admin at lctn.org>> wrote:
> >
> >     I am trying to get to single user mode on an Ubuntu server, adding
> >     "single" to the end of the kernel line brings me to a "control d"
> >     prompt. How can I get it to boot to a shell instead, so I can set the
> >     root password?
> >
> >
> >
> >     _______________________________________________
> >     TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> >     tclug-list at mn-linux.org <mailto:tclug-list at mn-linux.org>
> >     http://mailman.mn-linux.org/mailman/listinfo/tclug-list
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> > tclug-list at mn-linux.org
> > http://mailman.mn-linux.org/mailman/listinfo/tclug-list
> >
>
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20090415/f84c92de/attachment.htm