Hi All,
My end goal here is to force the local user (end-user) to update their password upon 2nd login (I will explain). Here is my current workflow for new hires (note: we don't have jamf connect) so I have to work with what I got.
Current Workflow:
1. Enroll the computer into pre-stage enrollment and let it cook.
2. Create the local user (new hire) account in the create local account page in apple setup assistant. in this step we are manually creating a "temp" password
3. Log out of the current user's (local user) account and log into our jamfadmin account to finish manual set up steps (additional privacy permissions, re-naming hostname, enabling FV, etc)
4. Log out of the jamfadmin account and shutdown.
5. Deliver the laptop to the new hire with login information securely enclose. We leave it up to them to update their default password.
So, with that being said, we now want to enforce our users to update their default/temp password to a secure one. After doing some research I came across this cmd which may do the trick, but looking for guidance as to how to implement it properly given our current workflow.
<pwpolicy -u "$(whoami)" -setpolicy "newPasswordRequired=1">
My initial thought on implementing this cmd to my workflow is by running it when Initially log into the local user's account, so that next time they're forced to update it. Some key questions here:
1. Would my password restriction config profile apply in this case?
2. Would Filevault cause any issues? We turn it on afterwards when we log into the jamfadmin account (step 3)
3. What's the best way to implement this to my workflow?
4. Can the user use the same password?
Thanks, any input is appreciated!
Question
Force Password Update for local user best practice
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
