Modifying the administrator username and password used by web services
To comply by the security standards for your application after installation, you should perform the steps in this topic on a periodic basis.
The default username and password is admin/admin. But you must change the user name and password on a regular basis.
Recommendations
First, make all changes to the backup of the Tomcat layout in <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat file. Then, copy the files to the running Tomcat instance.
Warnings
- Do not change the following items when working with these files:
- The
bmc.juddi.auth.localuser.user
property in the <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat/webapps/uddi/WEB-INF/classes/bmcauth.properties file. - The
juddi.root.publisher
property in the <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat/webapps/uddi/WEB-INF/classes/juddiv3.properties file.
- The
- Do not rename or modify any of the files under <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat/webapps/uddi/WEB-INF/classes/juddi_custom_install_data.
To change the administrator's password
- In a command-line interface (CLI), go to <ATRIUMCORE_HOME>/wsc/wsregistryapi/scripts.
- Start the password utility:
- For Microsoft Windows, enter
encryptpswd.cmd
- For UNIX/Linux, enter
./encryptpswd
.
- For Microsoft Windows, enter
- Type in the new password when prompted.
- The encrypted password is returned.
- In the <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat/webapps/uddi/WEB-INF/classes/bmcauth.properties file, assign the
bmc.juddi.auth.localuser.passwd
property its value, which is the encrypted password. - Stop the Tomcat server that hosts BMC CMDB UDDI Registry Server.
- To overwrite the existing file, copy the <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat/webapps/uddi/WEB-INF/classes/bmcauth.properties file to the TOMCAT_HOME/webapps/uddi/WEB-INF/classes directory.
- Start the Tomcat server.
To change the administrator's username
- In a text editor, open the bmcauth.properties file in <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat/webapps/uddi/WEB-INF/classes/.
- For the
bmc.juddi.auth.localuser.alias
property, specify the new user name for the root user.
By default, it is unassigned, which means that the server uses the default value of local user name assigned to thebmc.juddi.auth.localuser.name
property. - Stop the Tomcat 6 server that hosts BMC CMDB UDDI Registry Server.
- To overwrite the existing file, copy the <ATRIUMCORE_HOME>/wsc/bmcuddi/tomcat/webapps/uddi/WEB-INF/classes/bmcauth.properties file to the TOMCAT_HOME/webapps/uddi/WEB-INF/classes directory .
- Start the Tomcat server.
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.