sudo

paul cooke paul.cooke100 at blueyonder.co.uk
Tue May 31 21:30:35 UTC 2005


On Monday 30 May 2005 20:44, Michael R Head wrote:
> On Mon, 2005-05-30 at 19:52 +0100, paul cooke wrote:
> > correct, to give any other user the ability to sudo, you have to edit the
> > sudoers list using the special program visudo.
>
> incorrect, ubuntu (at least when installed hoary) creates a sudoers file
> with the following line:
>     # Members of the admin group may gain root privileges
>     %admin  ALL=(ALL) ALL
>
> So all you need to do is
>   $ sudo adduser otherguy admin
> (or use the users and groups administration tool)
> and 'otherguy' will be able to sudo when next he logs in.

ah, you're cheating by using the command line tools and specifically adding 
the admin group to the list. If you do it the gui way, like normal users will 
try with the Gnome menus, then the new user IS NOT by default a member of the 
admin group.

>
> mike




More information about the ubuntu-users mailing list