How to add user to sudo group

 How to add user to sudo group

To add an existing user to the sudo group in Ubuntu, use the usermod command with the -aG flag. The -a flag ensures the user is appended to the group, and -G specifies the group. Replace <username> with the actual username. For example: 

Code
sudo usermod -aG sudo <username>

Comments

Popular posts from this blog

Clearing DNS cache on vCenter Server Appliance