forked from gplll/nss_securepass
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ADD_GROUPS.sh
27 lines (23 loc) · 1.24 KB
/
ADD_GROUPS.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
spctl group add [email protected]
spctl group xattrs [email protected] set posixGid 1020
spctl group member add [email protected] [email protected]
spctl group member add [email protected] [email protected]
spctl group member add [email protected] [email protected]
spctl group member add [email protected] [email protected]
spctl user add -n larry -s bird -e [email protected] -m +00000000 [email protected]
spctl user xattrs [email protected] set posixuid 1010
spctl user xattrs [email protected] set posixgid 1015
spctl user add -n julius -s erving -e [email protected] -m +00000000 [email protected]
spctl user xattrs [email protected] set posixuid 1011
spctl user xattrs [email protected] set posixgid 1015
spctl user add -n michael -s jordan -e [email protected] -m +00000000 [email protected]
spctl user xattrs [email protected] set posixuid 1012
spctl user xattrs [email protected] set posixgid 1015
spctl group add [email protected]
spctl group xattrs [email protected] set posixGid 1021
spctl group member add [email protected] [email protected]
spctl group member add [email protected] [email protected]
spctl group member add [email protected] [email protected]
spctl group member list [email protected]
spctl group member list [email protected]