Answers for "how to not to use sudo with user in linux"

25

add user to sudoers

usermod -aG sudo username
Posted by: Guest on March-29-2020
2

add user to sudoers

echo "username  ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/username
Posted by: Guest on March-24-2020
0

add sudo user ubuntu 18

sudo usermod -aG sudo [username]
Posted by: Guest on October-16-2020

Code answers related to "how to not to use sudo with user in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language