Changing passwords in security configuration files
The password is the only field in the security configuration file that is encrypted. You can change the password in the security configuration files.
The configuration files are located in the
BASEDIR/smarts/local/conf
directory of a product.
- Go to theBASEDIR/smarts/bindirectory and enter the following command to open the security configuration file:sm_edit conf/<security configuration file>For example, to open theserverConnect.conffile:sm_edit conf/serverConnect.conf
- Review the contents of the file.TheserverConnect.conffile may include lines similar to the following:# <BROKER> :<DEFAULT> :<DEFAULT> :All Smarts :admin :<SYS> :All Smarts-WP :user5 :Password :Ping Smarts :operator :Password :Monitor Smarts :* :<SYS> :None #Encrypted passwords are preceded by <E-1.0>
- Delete the current password and replace it with the new password in cleartext.If the current value is encrypted, delete the<E-1.0>tag that marks the password as encrypted as well as the current password. The special values<DEFAULT>, <PROMPT>, <SYS>,and<AUTO>in the files are not encrypted.
- Save and close the file.The modified version of the security configuration file is saved to theBASEDIR/smarts/local/confdirectory.The appropriate values are encrypted as part of the process.
- Repeat the steps for all of the security configuration files.
- Restart theManagerif applicable.If a security configuration file already includes the first line for encryption, specify thesm_editutility with the--noeditoption to encrypt the file without opening it. You must have administrative privileges when entering this command.BASEDIR/smarts/bin/ sm_edit --noedit conf/<security configuration file>