I'm trying to develop a procedure in HANA that activates and deactivates a special database user and logs everything in this regard.
I like that the user always has the same initial password after activation - but is forced to change it when he logs in.
Do you have an idea of how I can implement this?
Currently, I am failing due to the password policy. I don't want to touch this policy and it says that the last 5 passwords are not allowed to be used.
Is there a way to give the user any password five times with a random function and the sixth time the default password?
Any feedback regarding the implementation, improvements, and further ideas is welcome.
Thanks in advance.