sudoers file problem (I really messed it up)

Erik Bågfors zindar at gmail.com
Wed Apr 27 02:00:18 UTC 2005


Don't think I have a recovery mode in my grub menu.  But that's
probably because I've been messing around with the system.

That sounds like a simpler sugestion :)

/Erik

On 4/27/05, Darryl Clarke <smartssa at gmail.com> wrote:
> On 4/26/05, Erik Bågfors <zindar at gmail.com> wrote:
> > I did the same thing.
> >
> > simplest fix...
> >
> > In the grub prompt, go edit and then add "init=/bin/bash" to the boot command
> > then boot
> > you will now be root on that machine,
> > do "mount -o rw,remount /"
> > then edit sudoers
> > sync; reboot
> >
> > You should be set.
> 
> No need to do all that.  Just select your kernel with "(recovery
> mode)" from the grub list and it will put you at a root prompt.
> 
> Then you can go and edit /etc/sudoers
> 
> --
> ~ Darryl  ~ smartssa at gmail.com
> http://smartssa.com / http://darrylclarke.com
>




More information about the ubuntu-users mailing list