I want to give a Fedora user sudo privileges. How do I do that?
|
Add the user to the
I use gpasswd because not all versions of If you are using Fedora 14 or earlier, use
This is the default in the sudoers file on Fedora 15 and newer, so adding the user to See also this question and answer over on Server Fault for information on granting sudo-like "auth as self" behavior to wheel group members for graphical apps which use consolehelper or PackageKit. |
||||
|
|
|
Not sure if this has been deprecated, but in FC6 you could simply add the user to the
|
||||
|
|
I suppose that the first question is, do you have sudo installed on the server(s) in question? Assuming so, it is just a matter of deciding whether you want to treat the user as a unique entity or as part of a group, a group which may have only 1 member. The command the former:
the latter:
These are merely two examples, the sudo package has a tremendous number of features and settings options at your disposal. I recommend reading the sudoers, sudo's configuration file, manual. I would also recommend starting simple and building up to the actual desired configuration. |
|||||||||||
|
sudoquestions have nothing to do with fedora, I've removed the tags you might want to consider modifying the text. – xenoterracide♦ Nov 30 '10 at 2:18