Sudo not working?

GDB-B&W-X.3.9 dougburton at vevayindiana.net
Fri Nov 4 11:33:36 UTC 2005


On Nov 4, 2005, at 1:05 AM, Tim Frost wrote:

> The key is the error message "doug : command not allowed", which
> indicates that the user doug does not have authority to run the command
> via sudo (in this case, the command "validate" is not permitted).
>
> This suggests that the user doug is not properly set up in the sodo
> control file /etc/sudoers.  The default breezy install sets up the user
> that is created at boot time as a sudo user.  I did an install (of
> breezy) using expert mode, rather than the default install.  An expert
> install does several things in a different way from the default 
> install.
> In particular, it allows you to set a root password, and it doesn't set
> up any created users with the required privileges for sudo.  This meant
> that I had to edit /etc/sudoers (the edit needs to be done using the
> command visudo as root), and add the following line, before I could use
> sudo:
> 	tim     ALL=(ALL) ALL
>
> You probably need an entry for user doug that is similar to mine.
>
>> From my reading about Ubuntu, I suspect that there is a user 
>> privileges
> setting that we have wrong.  I can't confirm this, as I don't have a
> machine to do a test install on for comparison purposes.
>
> Tim

I believe you hit the nail square on the head Tim as I did in fact do 
an expert install.  For some reason, the first time I installed breezy 
everything went fine and it gave me the choice of where to install the 
bootloader.  Having my own boot manager I wanted to bootloader 
installed on the breezy partition.  But the only way I could get this 
was to install lilo as the bootloader.  I was experimenting trying to 
get grub installed instead and ended up doing an expert install as a 
result.  Ended up overwriting the MBR (again) and had to use the 
recover functions of my boot manager program to set everything right 
again.  Oh well, I appreciate the insight into the problem and will go 
ahead and correct it.

Just a message from Doug...





More information about the ubuntu-users mailing list