Global policies apply to both admin users and regular users in macOS. Be careful when you set your policies so that you don't inadvertently lock out admin users. Use these steps to unlock affected user accounts, including admin users. If you lock out an Open Directory admin In Terminal, use this command: sudo pwpolicy -n … Continue reading clearaccountpolicies
Tag: trouble
Reset the Open Directory administrator password
Reset the Open Directory administrator password You can reset the Open Directory administrator password for macOS Server without affecting user data. If an administrator departs without leaving their password, this is the best way to access their account. On the Open Directory server, open Terminal and use this command: ldapsearch -LLL -x -H ldap://127.0.0.1 -s … Continue reading Reset the Open Directory administrator password