Difference between revisions of "Sudoers"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "The linux sudoers file defines users with the permission to use the sudo command. To see if you currently have permission to use sudo then simply test at the cli. sudo ls F...")
 
m
Line 13: Line 13:
  
 
It has been observed that logging out of the cinnamon desktop session on Mint and back in does not seem to be sufficient.  If you are frustrated, just reboot the machine.
 
It has been observed that logging out of the cinnamon desktop session on Mint and back in does not seem to be sufficient.  If you are frustrated, just reboot the machine.
 +
 +
STEPS TO BECOME A SUDOER
 +
# add user to sudoers group
 +
# restart sudo service sudo restart

Revision as of 11:43, 13 January 2024

The linux sudoers file defines users with the permission to use the sudo command.

To see if you currently have permission to use sudo then simply test at the cli.

sudo ls

For Debian based Ubuntu and Mint:

users in the adm group can execute sudo. Rather than editing the /etc/sudoers file it is better to edit the /etc/group file using the following command (from another user account with sudo privileges)

sudo vigr

Now add your user account to the adm group.

You must log out and back in again for the changes to impact your shell.

It has been observed that logging out of the cinnamon desktop session on Mint and back in does not seem to be sufficient. If you are frustrated, just reboot the machine.

STEPS TO BECOME A SUDOER

  1. add user to sudoers group
  2. restart sudo service sudo restart