Add existing linux user to existing group


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #add the user to the supplemental group(s)
  2. usermod -a -G group user
  3.  
  4. #Change existing user primary group to www:
  5. usermod -g www user

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.