SAP Knowledge Base Article - Preview

3075109 - A reset of an expired password using 'alter login' fails with error 7992 - SAP ASE

Symptom

  • The reset of an expired password using 'alter login' command
  • For a login with a default database other than the master database
  • Fails with error 7992
  • When the user connects to SAP ASE, the following message is raised:
    The password has expired, but you are still allowed to log in. You must change your password before you can continue. If a login trigger is set, it will not be executed.

  • If that user issues 'alter login' to change their password, error 7992 is raised stating they need to be in the master database:

    alter login mike with password sybase modify password sybase2
    go

    Msg 7992, Level 16, State 2:
    Server 'ASE', Line 1:
    The user needs to be in the master database to execute this command.

  • However, a change to the master database for the password change is not allowed

    use master
    go

    Msg 7742, Level 16, State 1:
    Server 'ASE', Line 1:
    You must change your password using the ALTER LOGIN command before you can continue.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise all versions

Keywords

sp_password, alter login, ALTER LOGIN, Msg 7742, sp_passwordpolicy, expire login passwords, expire login, Msg 7992  , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.