github joshua-d-miller/macOSLAPS 3.0.0(752)
macOSLAPS 3.0.0 Build 752

latest releases: 4.0.0(845), 3.1.0(843), 3.0.4(781)...
pre-release2 years ago

New Command Line Options
In macOSLAPS 3.0.0 there are now two new command line options that can be called

  1. -firstPass - When using this key a password reset will be triggered and the either the FirstPass configuration profile key will be used OR you can specify the FirstPass as a string in the second argument when running macOSLAPS from the command line in quotes (Example: "p938hne(P*JP(*#")
    • SideNote: The FirstPass key in the configuration profile will take precedence as most people have it configured that way at this time. If you want to specify it in the command line remove the key from the configuration profile.
  2. -help - Displays a help menu of ALL available macOSLAPS command line arguments

Password Requirements
New in this version you can set Password Requirements for the generated password. These requirements will allow validation of the password BEFORE it is changed and saved to Keychain (and AD if still using Active Directory). This can be performed by setting the following in config:

<key>PasswordRequirements</key>
<dict>
    <key>Lowercase</key>
    <integer>1</integer>
    <key>Uppercase</key>
    <integer>1</integer>
    <key>Number</key>
    <integer>1</integer>
    <key>Symbol</key>
    <integer>1</integer>
</dict>

With these settings in the example above your password would need to have 1 lowercase, 1 uppercase, 1 number and 1 symbol. macOSLAPS will try 10 times to validate a generated password before exiting out and logging.

As always I sincerely appreciate this community and welcome any feedback you may have.

Special Thanks
I sincerely appreciate the feedback and helpfulness of the community. Thanks to @franton for the Pre and PostInstall PKG scripts. I once again want to thank the entire MacAdmins community and those especially involved in the #macoslaps channel for their feedback and encouragement.

Update March 20
Package was uploaded again as it is now notarized and stapled.

Don't miss a new macOSLAPS release

NewReleases is sending notifications on new releases.