Hello all!
I'm looking to set Mobile Accounts to be administrators from the get go, before they've even been created. As default Mobile Accounts are set to standard, i'd like created mobile accounts to obtain administrator capabilities as default (if possible).
I've had a look at the following script from an old discussion: https://www.jamf.com/jamf-nation/discussions/7021/scripting-the-creation-of-ad-mobile-accounts-in-os-x
/System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount -n dscl . -append /Groups/admin GroupMembership $4
This doesn't appear to run in High Sierra for me, not sure if it relates more to scripting the creation of mobile accounts. I'm happy for the mobile account to be created on login as they currently are, i just want the users to automatically be an admin.
Any thoughts or help appreciated.