joshua-d-miller / macOSLAPS

Swift binary that will change a local administrator password to a random generated password. Similar behavior to LAPS for Windows
MIT License
382 stars 57 forks source link

Question about the FirstPass Key #70

Closed antcooley closed 2 years ago

antcooley commented 2 years ago

We have a couple of different passwords that may be used currently. is there a way for me to key two first passwords in case one fails? Thank you! This seems like exactly what I need. Looking forward to testing it!

joshua-d-miller commented 2 years ago

Hello @antcooley,

If you check the prerelease version of 3.0.0 you can now input the -firstPass command line flag with a password as a string next to it instead of using the configuration profile. This might accomplish what you need.

Thanks!

antcooley commented 2 years ago

Ahhhhh.... I could probably script that so it tryies one and if it fails it tries the other. (Sorry, I am pretty new to all of this! Really appreciate the help!)

joshua-d-miller commented 2 years ago

Hello @antcooley,

Glad to be of help. Wanted to check in and see if this solution works for you?

Thanks!

joshua-d-miller commented 2 years ago

Closing this issue due to inactivity. If you are still having issues feel free to reach out on the MacAdmins Slack or submit a new issue. Thank you!