Changes

Sudoers

1,192 bytes added, 13 January
The following lines were added (+) and removed (-):
Now add your user account to the adm group.<s>Now add your user account to the adm group.</s>STEPS TO BECOME A SUDOER'''BECOME A SUDOER'''# add user to sudoers group:  '''visudo''' Historically this simply meant you needed to add the specific user to the /etc/sudoers file.  This worked on UNIXWARE, FreeBSD, and Linux in general 10+ years ago however systems have changed.  Although it is still technically possible to directly edit sudoers and add a specific username, it is not recommended on most distributions to do it this way and on some the file may be overwritten on reboot of the system. '''STEPS TO BECOME A SUDOER ON A UBUNTU/MINT LINUX SYSTEM''' # add user to sudoers group:  '''vigr'''# add user to shadow group:  '''vigr -s'''COMMEND ON SYSTEM WON'T ACKNOWLEDGE CHANGES TO SUDOERS:  "''I just did this and yes, I did in fact have to reboot. So, maybe the previous answer wasn't wrong, but it definitely isn't right 100% of the time. Writing this in case someone else is looking for the answer as I just was.''" -[https://askubuntu.com/questions/665950/do-we-need-to-reboot-after-adding-a-user-to-sudoers Andrew Harrell on Ask Ubuntu]It would be bad if this was not at a kernel level and required a system wide restart, too much like Micro$oft.  Not verified.  Further testing required.Also user needs to make sure sudoers is not commended out in the /etc/sudoers file: type '''visudo'''
Bureaucrat, administrator
16,192
edits