Thursday, 1 September 2022

How to unlock/reactivate the SYSTEM user on SAP HANA?


How to unlock/reactivate the SYSTEM user on SAP HANA?

Symptom:

You want to know how you can unlock/reactivate the SYSTEM user on SAP HANA.


Resolution;

1. Check who has the privilege "USER ADMIN" by running:

     SELECT DISTINCT object_type, privilege, grantee FROM SYS.GRANTED_PRIVILEGES where privilege = 'USER ADMIN'

2. Connect to HANA using the user, found in step 1 and run the following SQL command to unlock the SYSTEM user.

ALTER USER SYSTEM RESET CONNECT ATTEMPTS;

3. Check user SYSTEM is now available.

SELECT * FROM SYS.USERS where user_name = 'SYSTEM'

4. Now you can log on with SYSTEM user again.

 



Reference Snote: 2736167


EmoticonEmoticon

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:o
:>)
(o)
:p
:-?
(p)
:-s
8-)
:-t
:-b
b-(
(y)
x-)
(h)

Note: only a member of this blog may post a comment.