You can use dataserver -plogin_name if your site encounters any of these situations:
All system administrator login accounts are locked.
All system security officer login accounts are locked.
The password for sa_role or sso_role has been lost.
The dataserver parameter, with the -p parameter allows you to set a new password for these accounts and roles. login_name is the name of the user or the name of the role (sa_role or sso_role) for which the password must be reset.
When you start with the -p parameter, Adaptive Server generates, displays, and encrypts a random password and saves it in master..syslogins or in master..syssrvroles as that account or role’s new password.
Sybase strongly recommends that you change the password when the server restarts. For example, to reset the password for user rsmith who has sa_role:
dataserver -prsmith
To reset the password of the sso_role:
dataserver -psso_role