Users and groups: sudo permissions
Hi, I'd like to ask what you meant by "sudo permissions" in Users_and_groups#User_management (resp. )? According to Sudo#Example_Entries, it is necessary to manually add
%wheel ALL=(ALL) ALL into the
sudoers file in order to allow members of the
wheel group full access to sudo. Thanks for reply, Lahwaacz (talk) 19:36, 25 February 2014 (UTC)
- Hi - this was the text that was already in place when I started editing this section. I agree that this is somewhat confusing, particularly since sudo access for the wheel group isn't enabled by default, but I didn't want to change the previous example too radically. In my opinion, using the wheel group for this is terribly confusing to new linux users and doesn't make a lot of sense (wheel?). My preference would be to have the sudo package add a sudo group to /etc/group file on installation and have this group (sudo) enabled in /etc/sudoers by default. The example could then be changed to a
# useradd -m -G sudo -s /bin/bash archie
- although, better would be to make the first example canonical:
# useradd -m -s /bin/bash archie
- and use the -G example just before talking about how to add groups after the fact.
- I'm new to using wikimedia, hence am not sure if I need to post my response here or on your Talk section (so I'll do both).
- Welcome to the wiki then! It's OK to respond just here, I have the page in my watchlist so I'll be notified. Specifically, ArchWiki follows a (pretty large) set of style guidelines, skim through it if interested. The part about talk pages is Help:Style#Discussion pages (I've indented your reply for better readability).
- Now back on topic - I missed the original phrase in the Beginners' guide, funny it was not in Users and groups before (maybe it was already removed).
- For the purpose of that example it does not really matter which group is used or with which purpose the example will be given. The user usually does not need to be member of (m)any additional groups (see SysVinit#Supplementary_information), but the
admgroups can be used to get full access to journal files. I think I'll use that as an example in Users and groups and use your example from  in the Beginners' guide.
- -- Lahwaacz (talk) 21:27, 25 February 2014 (UTC)