sudo problems

zer0halo zerohalo at gmail.com
Tue Dec 28 08:36:21 UTC 2004


Try going to Computer ... System Configuration ... Users and Groups.

Then add your user (the one you use to log in with), to the "sudo" group. 

You should then be able to execute sudo without being prompted for a password.

Of course it's not very secure since anyone who gets physical access
to your computer while logged in would be able to gain root access.
But I assume that's not a problem :-)


On Tue, 28 Dec 2004 03:33:05 +0100, albi <albi at scii.nl> wrote:
> ultrakorne wrote:
> 
> > hi, i have a problem with my warty, i cannot tell sudo to execute a
> > command without a password, i did as man sudoers tells
> > i need to run the script savepower without pass
> ------------ cut ------
> > # line added by me
> > ultra ALL= NOPASSWD: /usr/bin/savepower
> >
> > # User privilege specification
> > root  ALL=(ALL) ALL
> >
> > # Added by Ubuntu installer
> > ultra ALL=(ALL) ALL
> >
> >
> > if i execute savepower with user ultra, the system ask me for the
> > password..
> 
> hmm, you also have the line :
> ultra ALL=(ALL) ALL
> 
> why not change that into :
> ultra ALL= NOPASSWD: ALL
> 
> and see what gives ?
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 


-- 
"Impossible is nothing."




More information about the ubuntu-users mailing list