Posted By

harryxu on 07/12/11


user group

Versions (?)

Linux new user

 / Published in: Bash

  1. # Create a new user.
  2. adduser username
  5. # Add a existing user to existing group.
  6. # Add existing user tony to ftp supplementary/secondary group with usermod command using -a
  7. # option ~ i.e. add the user to the supplemental group(s). Use only with -G option :
  8. usermod -a -G ftp tony

Report this snippet  

You need to login to post a comment.