I've messed something up now

Avi Greenbury lists at avi.co
Sat Sep 24 13:28:31 UTC 2011


Cybe R. Wizard wrote:

> On Sat, 24 Sep 2011 00:28:53 -0400
> Doug <dmcgarrett at optonline.net> wrote:
> 
> > Did you ever have sudo working?  Some distros don't put you into
> > the sudoers file--you have to do it yourself.  To
> > edit the sudoers file, you should invoke visudo, as root
> 
> If use of sudo is missing and the root account is, by default, not
> enabled, how, then, run visudo /as root/?
> 

Well, this is a downside of not setting a root password. The easiest
method all-in is probably to boot off a liveCD and edit the file
directly that way. You could chroot and then visudo to make sure the
syntax is correct, too.

-- 
Avi




More information about the ubuntu-users mailing list