Page created: 15 Jul 2022 |
Page updated: 11 Jul 2023
Change the administrative password in the terminal.
Root users are governed by the Root Password Policy and by default, their passwords
never expire. However, if a root user's password must be changed, use the
Open a text editor and create a text file containing the new password.
$ echo password > <new-password>.txt
To change the root user's password, run
$ bin/ldappasswordmodify --port 1389 --bindDN "cn=Directory Manager" \ --bindPassword secret --newPasswordFile rootuser.txt
Remove the text file.
$ rm <new-password>.txt