Make an existing user part of Administrators

Daniel J Walsh dwalsh at redhat.com
Wed Nov 14 15:30:19 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/14/2012 04:22 AM, Gianluca Cecchi wrote:
> 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
> 
It does not do anything with SELinux.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCjuQsACgkQrlYvE4MpobPrXwCgmitIX+N9iQ0l5BbrYmAv/Piy
ot4AnR+ovA/RUsGyU7JPuzH4h/mk7t3I
=viHl
-----END PGP SIGNATURE-----


More information about the users mailing list