[nzlug] OMG, I can no longer run 'sudo' !

Sid Bachtiar sid.bachtiar at gmail.com
Sat Aug 12 11:17:22 NZST 2006


On 8/12/06, Jim Cheetham <jim at gonzul.net> wrote:
> And it's not going to be straightforward to fix; on Ubuntu the root user
> is not enabled, so su won't work, and sudo is broken. It's unlikely that
> there is another admin user set up on the machine.
>
> Booting from the LiveCD is needed, and then mounting the hard drive, and
> probably editing the group file to restore these group memberships.
>
> Anyone got a good set of instructions for this?

Or I can boot as 'recovery' from GRUB and edit /etc/group using nano
and assign the username to the proper groups?

-- 
http://sid.homelinux.com/blog




More information about the NZLUG mailing list