ORACLE11GR2 Default password retention days

Source: Internet
Author: User

Today's business colleagues reported a password expiration issue, the workaround is as follows:
The default password validity password_life_time default value is 180 days.

Set pagesize 9999
Set Linesize 132
SELECT * from Dba_profiles WHERE profile= ' DEFAULT ' and resource_name= ' password_life_time ';
Profile Resource_name RESOURCE LIMIT
------------------------------ -------------------------------- -------- ----------------------------------------
DEFAULT Password_life_time PASSWORD 180

Modify Password_life_time to unlimited;
ALTER profile DEFAULT LIMIT password_life_time UNLIMITED;

After modification:
SELECT * from Dba_profiles WHERE profile= ' DEFAULT ' and resource_name= ' password_life_time ';
Profile Resource_name RESOURCE LIMIT
------------------------------ -------------------------------- -------- ----------------------------------------
DEFAULT password_life_time PASSWORD UNLIMITED

Dba_profiles View:
This view provides information about the user's profile and is the best assistant for the DBA to manage user resource assignments, such as controlling the CPU that the session or SQL can use, controlling the user's password management policy, and so on.
After the database is created, the system has a default profile named defaults, which, if not specified, is the default
View Dba_profiles to find out which profiles are in the database

ORACLE11GR2 Default password retention days

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.