Posted By

kayue on 12/31/10


Tagged


Versions (?)

User operations


 / Published in: Bash
 

  1. # Create group
  2. groupadd <name>
  3.  
  4. # Add new user
  5. adduser <user>
  6.  
  7. # Change password
  8. passwd <user>
  9.  
  10. # Find out user group identity
  11. id -nG <user>
  12.  
  13. # Add existing user to group
  14. usermod -G <group1,group2> <user>

Report this snippet  

You need to login to post a comment.