on 2013 Jul 01 10:22 PM
I am implementing max_failed_login_attempts
and auto_unlock_time
. I find reference to "manually unlocking user accounts", but I can not find the SQL command to execute to do this so I can provide administrators the command to unlock a locked account.
Request clarification before answering.
Hi Bill,
The ALTER USER SQL command can be used to manually unlock a user account.
ALTER USER <username> RESET LOGIN POLICY
Any user with the MANAGE ANY USER privilege can perform this action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Antoher solutions is usage of login policies in sql anywhere Login Policy "normal" and other "blockeds" and then blockeds policy set the blocked to ON.
And then set with sql "Alter role userName " the policy for user.
Example usage: http://dcx.sybase.com/index.html#sa160/en/dbreference/alter-user-statement.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.