This article describes how to manually reset the root password for Command Center.
Administrator access to the Command Center server.
Complete the following steps to manually reset the root password for Command Center:
Before Versions 5.2.43 build
Stop the Command Center server through the "Shutdown Citrix Command Center Server" icon.
You can use the following command on Linux:
service NSCCService stop
Open file explorer and navigate to <Command Center root>\conf.
The following is the location to find the Root Directory on a Linux version of Command Center:
cd /opt/Citrix/Citrix_Command_Center
Edit the Securitydbdata.xml file to change the root password to known encryption key, such as, "b96u1ae9J" for public:
< USER-PASSWD> <DATA ownername="NULL" password="b96u1ae9J" username="root"/></USER-PASSWD>
Save the file.
Back up NmsProcessesBE.conf file. Search for the process "com.adventnet.nms.security.authorization.NmsAuthManager”" in the file and change the parameter "persist_data_in_XML" to true.
Start Command Center server using the following command on Linux:
service NSCCService start
You must now be able to log on with root as username and public as password.
Stop Command Center server.
Replace the NmsProcessesBE.conf with the file which was backed up in Step 4.
From version 5.2.43 onwards
The above mentioned procedure only works with the older command center firmware versions. From Command Center 5.2 Build 45.4 the password encryption method changed and changes made to the Securitydbdata.xml password doesn't works.
Stop the Command Center server through the "Shutdown Citrix Command Center Server" icon.
You can use the following command on Linux:
service NSCCService stop
Open file explorer and navigate to <Command Center root>\conf.
The following is the location to find the Root Directory on a Linux version of Command Center:
cd /opt/Citrix/Citrix_Command_Center
Copy securitydbData.xml.bkup from <CC_HOME>\conf\CCbackup to <CC_HOME>\conf. Change the extension to securitydbData.xml (remove .bkup extension)
Save the file.
Back up NmsProcessesBE.conf file. Search for the process "com.adventnet.nms.security.authorization.NmsAuthManager”" in the file and change the parameter "persist_data_in_XML" to true.
Start Command Center server using the following command on Linux:
service NSCCService start
You must now be able to log on with root as username and public as password.
Stop Command Center server.
Replace the NmsProcessesBE.conf with the file which was backed up in Step 4.