In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Was told that the test user was locked when logging in
1. Log in with the user of the dba role and unlock it. Set the specific time format first in order to view the specific time.
SQL > alter session set nls_date_format='yyyy-mm-dd hh34:mi:ss'; Session altered.
2. Check the specific lock time
SQL > select username,lock_date from dba_users where username='TEST'; USERNAME LOCK_DATE TEST 2009-03-10 08:51:03
3. Unlock
SQL > alter user test account unlock; User altered.
4. Check that the ip caused the test user to be locked.
View the $ORACLE_HOME/network/admin/log/listener.log log
10-MAR-2009 08:51:03 * (CONNECT_DATA= (SID=lhoms) (SERVER=DEDICATED) (CID= (PROGRAM=Oracle) (HOST=omstestdb) (USER=oraoms) * (ADDRESS= (PROTOCOL=tcp) (HOST=10.69.1.11) (PORT=49434)) * establish * lhoms * 010-MAR-2009 08:51:03 * (CONNECT_DATA= (SID=lhoms) (SERVER=DEDICATED) (CID= (PROGRAM=oracle) (HOST=omstestdb) (USER=oraoms) * (ADDRESS= (PROTOCOL=tcp) (HOST=10.69.1.11) (PORT=49435)) * establish * lhoms * 0
In this way, it can be seen that the ip of 10.69.1.11 above is locked due to repeated failed login attempts.
Note:
By default, the database locks the user after 10 failed attempts.
1. Check the value of FAILED_LOGIN_ATTEMPTS
Select * from dba_profiles
2. Modify it to 30 times
Alter profile default limit FAILED_LOGIN_ATTEMPTS 30
3. Modify it to unlimited number of times (not recommended for security reasons)
Alter profile default limit FAILED_LOGIN_ATTEMPTS unlimited
The above is the reasons and solutions for the lock of Oracle users introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.