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 ldappasswordmodify tool.
Open a text editor and create a text file containing the new password. In this
example, name the file rootuser.txt.
$ echo password > rootuser.txt
Use ldappasswordmodify to change the root user’s password.