CreateUserPKG, could be broken on macOS 10.12.2

johnklimeck
Contributor II

Not sure if anyone has encountered this, but it looks like CreateUserPKG, could be broken on macOS 10.12.2, and it looks like it is no longer maintained.

As in, your account is created, but, is no longer Hidden in Sys Prefs > User & Groups....

All of the sudden in 10.12.2, the "Hidden" accounts are no longer Hidden in Sys Prefs > User & Groups.... Not good, as we do not want users knowing about / seeing these local accounts.

john

3 REPLIES 3

johnklimeck
Contributor II

I may wind up going this way.....

tfoggi
https://www.jamf.com/jamf-nation/discussions/6438/best-way-to-create-hidden-admin-account

Nix4Life
Valued Contributor

@johnklimeck not sure if you saw this but it appears to work

rhoward
Contributor

You can do this all though the command line using sudo jamf createAccount command. Something like:

sudo jamf createAccount -username USERNAME -realname REALNAME -password PASSORD -admin -hidden