Skip to content

Instantly share code, notes, and snippets.

@xhlwill
Last active July 3, 2017 13:54
Show Gist options
  • Select an option

  • Save xhlwill/a2f671566a52660bd9036ffc7d9e8302 to your computer and use it in GitHub Desktop.

Select an option

Save xhlwill/a2f671566a52660bd9036ffc7d9e8302 to your computer and use it in GitHub Desktop.

Revisions

  1. xhlwill renamed this gist Jun 14, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. xhlwill revised this gist May 15, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion groups-users.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # see all groups
    dscl . list /groups
    # see 'admin' group's member
    # see 'admin' group's members
    dscacheutil -q group -a name admin
  3. xhlwill renamed this gist May 15, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. xhlwill created this gist May 15, 2017.
    4 changes: 4 additions & 0 deletions group-users.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # see all groups
    dscl . list /groups
    # see 'admin' group's member
    dscacheutil -q group -a name admin