"sysadminctl -adminUser $ADMINUSER -adminPassword $ADMINPASS -secureTokenOn $ACCOUNT_NAME -password $PASSWORD" throws an error: ### Error:-14090 File:/BuildRoot/Library/Caches/com.apple.xbs/Sources/Admin_sysadminctl/Admin-716/addremoveuser/main.m Line:373, and I'm not sure why!
did you look up the errorno or string on apple's site or stackoverflow?
there may be some ldap lookup as well to verify the admin or user?
@VeintePesos we don't use ldap but I think I got it ...
ldap or active directory or some other network validation appliance. i would have to guess your co uses something centralized to validate users (clients) + provide entitlements (privileges)
@VeintePesos nope, no ldap/openldap/ad in use here lol
thought that was rule one in the capitalist manifesto: centralize control. everyone is doin it.
most companies are concerned about someone sneaking on their network, industrial espionage, employees making off with customer lists, all that fun stuff.
plus they want to revoke your access when you leave.
@VeintePesos Yeah, it's definitely a trend. We'll probably move to some ldap/ad junk once we grow more
bug in your script? do you need to quote those variables?
Everything is connected.