Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add user to group

usermod -a -G examplegroup exampleusername
Comment

add user to group linux

sudo usermod -aG <groups> <username>
Comment

Adding users to groups

sudo usermod -a -G <groupname> <username>
e.g.
sudo usermod -a -G wonderland alice
Comment

command to add a user to a group

sudo usermod -a -G GROUP USER
Comment

linux add user to group

sudo groupadd $GROUP 
sudo usermod -aG $GROUP $USER
Comment

add user to group

usermod -a -G <group> <user>
$ usermod -a -G developer tom
Comment

create user with group

useradd -g <group> <user>
$ useradd -g developer tom
Comment

PREVIOUS NEXT
Code Example
Shell :: print first lines of file linux 
Shell :: Update nvm installed node version and keep globally installed packages 
Shell :: pnpm auto-install-peers 
Shell :: delete merged branches in git 
Shell :: artix linux 
Shell :: find program path linux 
Shell :: how to make wsl backup 
Shell :: bash change text in specific column 
Shell :: find user shell 
Shell :: Disable MacBook from Booting Automatically 
Shell :: how to install expo cli on windows 
Shell :: github drupalcomposer project 
Shell :: ubuntu unzip zip 
Shell :: install laravel mix 
Shell :: specify ssh key to use 
Shell :: dbeaver install 
Shell :: install piper ubuntu 
Shell :: copy folder from local to ubuntu server 
Shell :: global gitignore 
Shell :: how to get powers 
Shell :: how to max cpu usage in linux 
Shell :: git delete branch 
Shell :: install pycodestyle in ubuntu 
Shell :: install zsh with powerlevel10k customization addon 
Shell :: terminal delete directory not empty 
Shell :: choco install watchman 
Shell :: linux install qt5widgets 
Shell :: Undo commit and keep all files staged 
Shell :: Command to display a process running in windows powershell 
Shell :: how to install heroku on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =