我希望能够在进入计算机后在Mac OS X 10.11中远程创建新用户。在山狮上,列出了这些步骤。
跑步
dscl . -create /Users/joeadmin
dscl . -create /Users/joeadmin UserShell /bin/bash
dscl . -create /Users/joeadmin RealName "Joe Admin"
dscl . -create /Users/joeadmin UniqueID "510"
dscl . -create /Users/joeadmin PrimaryGroupID 20
dscl . -create /Users/joeadmin NFSHomeDirectory /Users/joeadmin
dscl . -passwd /Users/joeadmin password
dscl . -append /Groups/admin GroupMembership joeadmin
完成上述操作后,该用户将不会成为管理员。接下来是什么?
1
同样相关的是apple.stackexchange.com/questions/4814和apple.stackexchange.com/questions/112857和github.com/MagerValp/CreateUserPkg
—
bmike