Category filter
Troubleshoot password policy issues on macOS devices
This guide helps you troubleshoot password policy issues on macOS devices.
1. Issues with setting device password after updating to macOS Sonoma
Issue
When a device that has a password policy associated with it is updated to macOS Sonoma, users are asked to set a new password. After setting up the password which meets the password requirements, the device still does not accept the password.
Here are some other methods you can try,
Solution
Method 1
Attempt a device restart, then proceed to set a new password at the login page as per the password requirements.
Method 2
If the entered password is still invalid, you can also reset the password by putting the device into recovery mode. Follow the below steps to reset the password,
- Shut down the device.
- To enter recovery mode, press and hold the power button for a few seconds.
- In the Utilities menu, select Terminal.
- Type resetpassword and press enter.
- A window will pop up allowing you to change the passwords for the user accounts on the device.
Method 3
If the issue arises on the device containing only a single user account, create an admin account on the device by following the below steps:
- Log in to the Hexnode portal, go to the Manage tab.
- Select the required devices.
- Click Actions > Create User Account.
- Set the Account type as Administrator and configure the account settings.
- Click Create to create an admin account on the device.
Upon creating the admin account, log into it and reset the password of the affected user account.
OR
You can also change the password of the affected user account with Hexnode, follow the below steps to change the password,
- Log in to the Hexnode portal and navigate to Manage > Devices.
- Select the macOS device whose user account(s) password you want to change.
- Navigate to the Local Accounts tab.
- Select the three-dot menu next to the desired user.
- From the drop-down menu, select Change Password.
- Enter the admin username and password under Administrator account credentials.
- Enter the new password and password hint for the target user under Target account details.
- Click Proceed and Confirm to finalize the password change.
Method 4
Remove the existing password policy associated with the device and follow the below steps:
- Allow the user to log in to the account.
- Once the user has logged in, re-associate the password policy with the device.
2. Issues with setting up the password
Issue 1:
When an administrator attempts to change the password for a user account through the Hexnode portal, they receive a failed message stating that “Mandatory fields not exist” even though they have met the necessary password requirements.
Similarly, when an administrator tries to set a password while creating a new user account through the Hexnode portal, they encounter the same error message as “Mandatory fields not exist”. This issue arises even though all necessary password requirements have been fulfilled.
Probable Cause
The issue can arise when setting the password containing special characters ¡, ™, £, ¢, ∞, §, ¶, •, ª, º, –, ≠, «, ‘, “, æ, …, ÷, ≥, ≤.
Solution
When setting a password using special characters, it is recommended to exclude using characters like ¡, ™, £, ¢, ∞, §, ¶, •, ª, º, –, ≠, «, ‘, “, æ, …, ÷, ≥, ≤.