passwordless sudo

Mike Williams dmikewilliams at gmail.com
Wed Nov 30 20:56:46 UTC 2011


Forwarding message sent directly to me instead of list.

On Wed, Nov 30, 2011 at 3:40 PM, Terry Polzin <foxec208 at wowway.com> wrote:
> On Wed, 2011-11-30 at 15:32 -0500, Mike Williams wrote:
>> On Wed, Nov 30, 2011 at 12:36 PM, Marko Vojinovic <vvmarko at gmail.com> wrote:
>> > Wouldn't this actually enable passwordless sudo for all members of the wheel
>> > group, rather than just for one user?
>> >
>> > What would the config look like if the OP wants to be both a member of the
>> > wheel group, and have a paswordless sudo config *only* for himself?
>>
>> Just use the username of the user instead of %wheel
>>
>> mike    ALL=(ALL)   NOPASSWD: ALL
>>
>> Adding a user to the wheel group is a separate issue.  This can be
>> done via the user manager gui, or by editing /etc/group.  As far as
>> the sudoers file goes, all settings for wheel are commented out by
>> default
>>
>> Not sure if there are other reasons to add a user to the wheel group.
>> Don't think there is any other use for the wheel group. Perhaps
>> someone else who knows can respond to that issue.
>>
>> Mike
>
> F16 first boot after a fresh install asks you if you want to add your
> new user(s) to the admin group (wheel).  It was the easiest way to
> explain it to the o/p.
>
>


More information about the users mailing list