Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (25 sloc) 1.012 kb
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 27 28
Here's a howto on adding the users in the first place:

bash-3.2# dscl . create /Groups/munin PrimaryGroupId 4949
bash-3.2# dscl . create /Users/munin UniqueId 4949
bash-3.2# dscl . create /Users/munin PrimaryGroupId 4949
bash-3.2# dscl . create /Users/munin UserShell /bin/false
bash-3.2# dscl . create /Users/munin NFSHomeDirectory /nohome
bash-3.2# dscl . create /Users/munin RealName Munin
bash-3.2# dscl . create /Groups/munin GroupMembership munin

bash-3.2# dscl . -read /Users/munin
dsAttrTypeNative:PrimaryGroupId: 4949
dsAttrTypeNative:UniqueId: 4949
AppleMetaNodeLocation: /Local/Default
GeneratedUID: 2A56D7FE-00D0-4B81-BAE7-F842E675031D
NFSHomeDirectory: /nohome
RealName: Munin
RecordName: munin
RecordType: dsRecTypeStandard:Users
UserShell: /bin/false

bash-3.2# dscl . -read /Groups/munin
dsAttrTypeNative:PrimaryGroupId: 4949
AppleMetaNodeLocation: /Local/Default
GeneratedUID: F53ACCA3-2CB9-440F-84A6-E2FADC44CB9E
GroupMembership: munin
RecordName: munin
RecordType: dsRecTypeStandard:Groups
Something went wrong with that request. Please try again.