The password is the only field in the security configuration file that is encrypted. You can change the password in the security configuration files.
- Go to the BASEDIR/smarts/bin directory and enter the following command to open the security configuration file:
sm_edit conf/<security configuration file>For example, to open the serverConnect.conf file:sm_edit conf/serverConnect.conf
- Review the contents of the file.
serverConnect.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 #Note: 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 the
BASEDIR/smarts/local/confdirectory.Note: The appropriate values are encrypted as part of the process.
- Repeat the steps for all of the security configuration files.
- Restart the Manager if applicable.
Note: If a security configuration file already includes the first line for encryption, specify the
sm_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>