Encrypt and set new passwords for the sccadmin and sccuser accounts if you plan to use the accounts.
If you do not plan to use the accounts, disable them.
Prerequisites Before disabling the sccadmin account:
- Configure Sybase Control Center to authenticate users through Windows or UNIX. See the Security section of the online help for details.
- Grant Sybase Control Center administration privileges to at least one Windows or UNIX user account. See the Authorization section of the online help for instructions on assigning roles.
This procedure explains how to use the passencrypt utility to encrypt passwords for the default accounts. You can safely store an encrypted password in the csi.properties file. Enter the password in clear text (unencrypted) when you execute passencrypt and when you use the password to log in.
passencrypt, which is located in the Sybase Control Center bin directory, uses the DES encryption algorithm.
-
Open a command window and change to the bin directory:
- Windows:
cd %SYBASE_UA%\bin
- UNIX:
cd $SYBASE_UA/bin
-
Encrypt a password for sccadmin:
passencrypt -text <new_password>
The passencrypt utility encrypts the password you enter and displays the password in encrypted form.
-
Copy the encrypted password.
-
In a text editor, open the csi.properties file:
- Windows: %SYBASE_UA%\conf\csi.properties
- UNIX: $SYBASE_UA/conf/csi.properties
-
Search for =sccadmin.
The line containing =sccadmin and the lines following should look like this:
CSI.loginModule.2.options.username=sccadmin
CSI.loginModule.2.options.password=
CSI.loginModule.2.options.roles=uaAgentAdmin,uaPluginAdmin,sccAdminRole
CSI.loginModule.2.options.encrypted=false
-
(Optional) To disable the sccadmin account, comment out the sccadmin block of the file by inserting a number or hash symbol (#) at the beginning of every line. Do the same for sccuser.
-
Paste the encrypted password at the end of the line that ends with password=.
-
On the bottom line, change encrypted=false to encrypted=true.
-
Return to the command window and use passencrypt to encrypt a different password for sccuser.
-
Copy the encrypted password.
-
Return to csi.properties and search for =sccuser.
-
Paste the encrypted password at the end of sccuser’s password= line.
-
On the bottom line of the sccuser block, change encrypted=false to encrypted=true.
-
Save the file and exit.
-
Immediately close the command window—it displays passwords in clear text.
-
To make the new passwords take effect,
restart Sybase Control Center. (See Starting and Stopping Sybase Control Center in Windows or Starting and Stopping Sybase Control Center in UNIX.)