Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

add sudo user ubuntu

# add a user and set a password
adduser USERNAME

# add user to sudoers / sudo groupe with command below
usermod -aG sudo USERNAME
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #add #sudo #user #ubuntu
ADD COMMENT
Topic
Name
4+1 =