How to handle Oracle user password expiration

Source: Internet
Author: User

Affected version: Oracle11g or later. Causes the password to disappear: The default Password_life_time password validity period in Oracle 11g defaults to 180 days. When the client logs on to Oracle prompt ORA-28002, it is basic to determine that the login account has expired, use the DBA authority of the account to reset the account password. WORKAROUND: Follow the steps below to have DBA authority for user Action 1. View password Invalid profile file for user
SQL>SELECT from Dba_users;

EM: server > User, view the user's profile for password invalidation, this assumes default, same as below. 2. Check the password expiration settings for the corresponding profiles
SQL>SELECT*fromWHERE profile='DEFAULT  ' and resource_name='password_life_time';

EM: Server > Profile > select the profile you just found default> view, view the expiration value under password. 3. Change the password expiration value by 180 days to "unlimited"
SQL>ALTERDEFAULT LIMIT password_life_time UNLIMITED;

EM: Server > Profile > select the profile you just found default> edit > Password, enter in the expiration date or select the value you need to save. This parameter modification takes effect in real time. For database security reasons, it is not recommended to set the Password_life_time value to unlimited, which suggests that customers can periodically modify the database user password. Users who have failed before modifying the Password_life_time value, or need to re-modify the password to use.
SQL>alteruser  user_name by password;

How to handle Oracle user password expiration

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.