Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Force password change at first login #57

Open
serrc-techops opened this issue Sep 17, 2020 · 2 comments
Open

Feature Request: Force password change at first login #57

serrc-techops opened this issue Sep 17, 2020 · 2 comments

Comments

@serrc-techops
Copy link

Being able to force a password change at first login would be a handy feature when creating a user account using a generic password.

I've experimented with doing this in macOS 10.15.6 using a com.apple.mobiledevice.passwordpolicy profile though it appears that payload can only be applied to an individual user when that user is currently logged in.

@gregneagle
Copy link
Owner

This is not a feature I need, nor one I know how to implement. I'd be happy to review a Pull Request that implemented such functionality. Installing a config profile using the profiles command is a dead-end, though, since that functionality is removed in Big Sur.

@jelockwood
Copy link

jelockwood commented Sep 17, 2020

@serrc-techops The following won't help you except prevent you wasting time.

macOS has a pwpolicy command you could run in a script via which in theory you can trigger the need for the user to change their password on next login. Unfortunately Apple broke this in Catalina, in Catalina if you use it it screws up the user account and this then requires resetting the password via a normal mechanism e.g. System Preferences from another admin account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants