sudo

Michael R Head burner at suppressingfire.org
Mon May 30 19:44:03 UTC 2005


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.

mike

> 
-- 
Michael R Head <burner at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt (ID 23A02B1F)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050530/0abcbfab/attachment.sig>


More information about the ubuntu-users mailing list