Discrepancy in /etc/sudoers file vs. /etc/group ?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 1
Joined: Sat Jul 11, 2020 10:05 am

Discrepancy in /etc/sudoers file vs. /etc/group ?

Post by quintablet »

I just upgraded to LinuxMint 20.
In the file /etc/sudoers, there are the following lines:

Code: Select all

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
but in the /etc/group file, there is only group: adm and no group sudo!

Should the name in the /etc/group file be "admin" or should the line in the /etc/sudoers file be changed to "adm"?
Also, I am able to use sudo 'cmd', but do I need to be added to the adm, admin or sudo groups?
Post Reply

Return to “Newbie Questions”