On Fri, Jun 14, 2013 at 07:38:40AM -0500, Steven Stern wrote:
> remove the comment before the 2nd line here so it looks like this:
>   ## Allows people in group wheel to run all commands
>   %wheel  ALL=(ALL)       ALL

This line *IS* uncommented by default.

> Still as root, edit the groups file:
>   vi /etc/group
> Find the line with "wheel" and add your user id after the colon
>   wheel:x:10:sdstern

Or, better, because there's less chance of accidentally making a mistake
which breaks your system (possible when editing /etc/group), use this
command as root:

  gpasswd wheel -a sdstern 

Or, you can use the GUI user admin tool to do the same thing.

So, you *don't need to edit the file directly, which is good thing, because
the sudoers file has a complicated and fussy syntax.

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mat...@fedoraproject.org>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to