Make an existing user part of Administrators

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Nov 14 09:22:16 UTC 2012


On Tue Nov 13 17:25:14 UTC 2012 Matthew Miller wrote:
> I'm sorry, I don't understand what you're asking here. You can use the
> graphical users and groups tool to add people to the wheel group.

I'll try to explain better.
Tipically when I want to give my user admin privileges (on F16 and F17
for example), I simply do this:
1) add the user to the wheel group
2) uncomment one of these lines in pre-configured sudoers file

#%wheel    ALL=(ALL)    ALL
# %wheel    ALL=(ALL)    NOPASSWD: ALL

depending if I want the user to always type their password or not
This way of doing things comes from seeing that in sudoers already
exists this pre-defined group "wheel", so I don't go through creating
another group for the same target.
So far so good.

During install phase for testing of F18 Beta TC7-8 I noticed this flag
"Add to Administrators group" where you have to create a new user.
(I remember it is there also at least in F17 but I didn't use it before...)
So a natural question arose regarding what this flag does (only steps
1) and 2) above or other things such as selinux commands ecc?) to
eventually learn other ways of reaching the same target, possibly also
after the installation phase....

Call it curiosity for better understanding.....

 Gianluca


More information about the users mailing list