daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Add multiple groups to a user
  2. cat groups_for_user.txt | xargs -n1 -I {} gtool group addmember {} member@your.domain
  3.  
  4.  
  5. # Add multiple users for a group
  6. cat group_members.txt | xargs -n1 -I {} gtool group addmember yourgroup {}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top