This script is launched in Self Service by the logged in user. However, the first interaction with the upgraded OS the user is prompted to change the password for System Administrator. It appears this only occurs when there is a Maximum Passcode Age set. This is a payload previously set at enrolment time. If this setting is removed the first interaction the user is presented with is simply the logon screen and all is good. Why is there a password reset prompt for System Administrator? Is there a workaround without removing the Maximum Passcode Age setting in the Passcode payload? Is this due to the script running in the root security context?
This script is launched in Self Service by the logged in user. However, the first interaction with the upgraded OS the user is prompted to change the password for System Administrator. It appears this only occurs when there is a Maximum Passcode Age set. This is a payload previously set at enrolment time. If this setting is removed the first interaction the user is presented with is simply the logon screen and all is good. Why is there a password reset prompt for System Administrator? Is there a workaround without removing the Maximum Passcode Age setting in the Passcode payload? Is this due to the script running in the root security context?