-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Any chance a boolean switch could be included in pycreateuserpkg to deal with this?
If there aren’t any SecureToken enabled users on a Mac, setting a user password will enable SecureToken for that user only. If you use a workflow that programmatically creates a user and sets its password before other user accounts are created, the programmatically created user will be the only SecureToken enabled account. To prevent this from happening, add ;DisabledTags;SecureToken to the programmatically created user’s AuthenticationAuthority attribute prior to setting this user’s password:
sudo dscl . append /Users/mdm_created_admin AuthenticationAuthority “;DisabledTags;SecureToken”
Metadata
Metadata
Assignees
Labels
No labels