Reset LDAP Account Manager Master Password
How to Reset your LDAP Account Manager Master Password
Last verified: November 2026.
LAM Master Password Reset: Quick Answer
- Find the file with find / -name config.cfg. Packages keep it under /etc/ldap-account-manager or /var/lib/ldap-account-manager/config; tar installs in the LAM config folder.
- Or type a new password in clear text after password:, log in with it and save it again in LAM configuration so it is stored hashed.
- Replace the password: line with the one from config.cfg.sample; the master password is then lam.
- Docker image: the password comes from the LAM_PASSWORD variable; change it and recreate the container.
Reset LAM Master Password
Login to your web server and go to the LAM installation directory
#cd /var/www/html/ldap-account-manager-6.4/config
Edit the LAM config file located in config directory.
#vim config.cfg
In the config file Comment the old password and Replace the password with the following key.
password: {SSHA}D6AaX93kPmck9wAxNlq3GF93S7A= R7gkjQ==
(You can also copy the password from config.cfg.sample file located in the same directory)
Save the config file, now your password will set to the default password lam

Changing default LAM Password
Now log in to the Ldap Account Manager with the password ‘lam‘ and set your new Master password.

