Posted By

julioantuneztarin on 06/17/11


Tagged

Bash mac system users groups permits


Versions (?)

Check users inside a group


 / Published in: Bash
 

  1. # List users
  2. $ sudo dscl . list /Users uid
  3. # List groups
  4. $ sudo dscl . list groups gid
  5. $ groups
  6.  
  7. # Check users inside a group
  8. $ dseditgroup -o read admin

Report this snippet  

You need to login to post a comment.