Oracle password attempts and oracle attempts

Source: Internet
Author: User

Oracle password attempts and oracle attempts

Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/42417761

Lab Environment

Operating System

WIN7 64bit

Database

Oracle 11G R2 (11.2.0.1.0)

Premise: when a user attempts to log on with a wrong password, the user will be locked.

Lab:

When you use PL/SQL Developer to simulate multiple password input errors for a scott user, a ORA-28000 error: User locked is prompted, as shown below:

 

Solution:

You can use the dba user to unlock it as follows:

SQL> alter user scott account unlock;

Log On again as follows:

Settings:

1. view the FAILED_LOGIN_ATTEMPTS Value

SQL> select * from dba_profiles;

2. Modify the default number of times

SQL> alterprofiledefalimitlimitfailed_login_attempts100;

-- Change the number of failed attempts to 100

3. The default modification is unlimited.

SQL> alter profile default limit failed_login_attempts unlimited;

-- Change the password attempt error to an unlimited number of times

 

Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.

Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/42417761

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.