본문 바로가기

Archive/HANADB

Reset the SYSTEM User Password of the System Database

728x90

Reset the SYSTEM User Password of the System Database

 

If the password of the SYSTEM user of the system database is lost, you can reset it as the operating system administrator by starting the name server in emergency mode.

Prerequisites

  • You cannot log on to the database as the SYSTEM because the password has been irretrievably lost. Note If you can log on as SYSTEM and you want to change the password, do not use the procedure described here. Use the SAP HANA studio or execute the ALTER USER SQL statement directly: ALTER USER SYSTEM PASSWORD .
  • You have the credentials of the operating system administrator (adm).

Procedure

  1. Log on to the server on which the name server of the system database is running as the operating system user (that is, adm user).
  2. Open a command line interface.
  3. Shut down the instance by executing the following command:

    /usr/sap//HDB/exe/sapcontrol -nr -function StopSystem HDB

  4. In a new session, start the name server of the system database by executing the following commands:
    • /usr/sap//HDB/hdbenv.sh
    • /usr/sap//HDB/exe/hdbnameserver -resetUserSystem

    After some start-up notifications, the prompt resetting of user SYSTEM - new password appears, followed by additional notifications:

    Reset SYSTEM User Password (System Database)

  5. After the appearance of the last notification, enter a new password for the SYSTEM user.

    You must enter a password that complies with the password policy configured for the system.

    The password for the SYSTEM user of the system database is reset and the name server stops.

  6. In a new session, start the instance by executing the following command:

    /usr/sap//HDB/exe/sapcontrol -nr -function StartSystem HDB

Results

The password of the SYSTEM user of the system database is reset. You have to change the new password the next time you log on with this user.

If you previously deactivated the SYSTEM user, it is now also reactivated. This means you will need to deactivate it again.

728x90

'Archive > HANADB' 카테고리의 다른 글

유효하지 않은 접속 시도 초기화  (0) 2020.06.02
HANA DB 스크립트  (0) 2020.04.13
SAP HANA to MSSQL SDA 설정  (0) 2020.01.13
이클립스에서 SAP hana studion plugin 설치  (0) 2019.07.04
SAP HANA DBA 서비스 확인  (0) 2019.06.30