dsmemberutil(1) | General Commands Manual | dsmemberutil(1) |
dsmemberutil
—
various operations for the membership APIs, including state
dump, check memberships, UUIDs, etc.
dsmemberutil |
[-v ] [-h ]
command [options] |
dsmemberutil
is a program that implements
the membership API calls in a command line utility.
A list of flags and their descriptions:
The action of each command is described below:
-ugUGsS
value-UGsSX
value-ugUGX
value-uUxs
param -gGXS
paramLegacy commands such as dumpstate and statistics are gone. See odutil(1) for show cache and statistics operations.
A list of options available. In some cases
-xX
and -sS
can be used
synonymously due to nature of the value.
% dsmemberutil getuuid -u
501
EEA4F2F6-B268-49E7-9C6F-E3C4A37DA4FD
% dsmemberutil getuuid -g
0
ABCDEFAB-CDEF-ABCD-EFAB-CDEF00000000
% dsmemberutil getid -X
ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C
gid: 12
% dsmemberutil checkmembership -u
501 -g 0
user is not a member of the
group
% dsmemberutil checkmembership -U
root -G wheel
user is a member of the
group
January 1, 2007 | Darwin |