You can manually reset the current platform administration
password.
This
procedure is for Sybase Unwired Platform version 2.x.x or later.
Note: You must contact your IT department or administrator before changing
or resetting the password. Only the person who has the right permission to change these
files should perform this procedure.
- Open the Unwired Server default.xml file, located in <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\Repository\CSI\conf
and modify this line:
<options encrypted="false" name="password"
value="{TXT:}s3pAdmin" />
In this example, you are setting the new password to
s3pAdmin. You can replace this password with any password
you choose. Do not remove the
{TXT:} prefix to the
password.
Note: In this example, password encryption is set to false. Disregard this value;
you will configure encryption correctly in step 6.
- Save the file.
- Restart Unwired Server and Sybase Control Center.
- Log in to Sybase Control Center using supAdmin as the new password.
- When login succeeds, Sybase Control Center opens the management
view on the local Unwired Server.
- In Sybase Control Center, expand the Security node:
- Click admin.
- Click Authentication
and select PreConfiguredUserLoginModule
for the supAdmin user.
- Click Properties,
and:
- Enter the new password. By resupplying the password here, the file is
overwritten using the correct syntax.
- Add a Clear Password property, and set its value to
false. This property encrypts the password.
Conversely, to store the password in clear text, set this value to true.
- Click Save.
- When you see the warning message, click OK, then click the General tab.
- Click Apply.
You see another warning.
- Click OK.
Configuration files are rewritten using the values you
entered. When the process completes, you see a Successfully saved message.
- Login again to Sybase Control Center using the supAdmin login and
the new password (in this example, s3pAdmin).
- Go to the ...\UnwiredServer\Repository\CSI folder and verify default.xml to verify that encryption is configured
correctly, and that the password is no longer recorded in clear text.
<authenticationProvider controlFlag="optional" name="com.sybase.security.core.PreConfiguredUserLoginModule">
<options name="username" value="supAdmin"/>
<options name="roles" value="SUP Administrator,SUP Domain Administrator,SUP DCN User"/>
<options encrypted="true" name="password" value="1-AAAAEgQQWd8NguXX5nswpWF1vUFPtcJhjmoiSYUzEAAiY3vWkZ+Y/33cWAoUD+EV/D80Yo4vie/XIyZVoBZbTT9ijxHDe7wbIBsagzS0DdAvS5lTRvRRNVp83+pTjQ3mmMNt5FmxrGvUV5fVQ2JI1YaTPbd+Tw=="/>
Next
Remove the No Auth Login Module entries that you added to the
csi.properties file, and, if used,the
roles-map.xml file. Restart Sybase Control Center for the change to
take effect.