Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add user to sudoers

usermod -aG sudo username
Comment

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
Comment

add user to sudoer

sudo grep -B1 -i '^%sudo' /etc/sudoers

# Allow members of group sudo to execute any command
#%sudo	ALL=(ALL:ALL) ALL

sudo adduser <UserNameHere> sudo

or

sudo usermod -aG sudo <UserNAmeHere>

id  <UserNAmeHere>
Comment

add sudo user ubuntu 18

sudo usermod -aG sudo [username]
Comment

PREVIOUS NEXT
Code Example
Shell :: extract tar.xz ubuntu 
Shell :: streamlink save to mp4 
Shell :: composer create-project symfony/website-skeleton 
Shell :: cat /etc/os-release 
Shell :: npm inatall latest version ubuntu 
Shell :: how to install enzyme 
Shell :: fatal: could not lookup name for submodule 
Shell :: ng g c --skipTests true 
Shell :: git commit --amend choose editor 
Shell :: how to install frida 
Shell :: install packages from selected repo yum 
Shell :: docker iniciar contenedor automáticamente 
Shell :: command to find Server’s Public IP Address 
Shell :: code . zsh command not found wsl 
Shell :: How to generate RSA private key and public key with openssl 
Shell :: how to clean pod in react native 
Shell :: videos mais antigos do youtube 
Shell :: mui treasury styles install 
Shell :: linux opened ports 
Shell :: nvidia driver ubuntu 20.04 
Shell :: mongodb restart command ubuntu 
Shell :: error: snap "flutter" has "remove-snap" change in progress 
Shell :: How to restart a service with systemctl command 
Shell :: clear history powershell 
Shell :: install wget debian 
Shell :: linux view kernel version 
Shell :: bily-101 github 
Shell :: ackage configuration file provided by "Eigen3" with any 
Shell :: git unsafe repository is owned by someone else 
Shell :: check ram details 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =