This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
add_a_user_to_the_sudoers_in_fedora [2007/10/11 17:04] adam created |
add_a_user_to_the_sudoers_in_fedora [2011/05/28 16:54] adam Change to demonstrate either individual users or using groups |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Add a User to sudoers in fedora | + | ===== Allow a User to use sudo ===== |
- | Edit / | + | Use visudo to edit / |
- | [root@machine ~]# < | + | [root@machine ~]# visudo |
+ | |||
+ | ==== Using Groups ==== | ||
Uncomment the line: | Uncomment the line: | ||
Line 11: | Line 13: | ||
Then add your user to the wheel group: | Then add your user to the wheel group: | ||
- | [root@machine ~]# usermod -G wheel < | + | [root@machine ~]# adduser |
+ | |||
+ | ==== Individual Users ==== | ||
+ | |||
+ | Add a new line which specifies the user: | ||
+ | |||
+ | adam ALL=(ALL) | ||
Now the user specified by < | Now the user specified by < |