Oracle Password expires the password has expired____oracle

Source: Internet
Author: User
Tags dba sqlplus

The workaround can be done by using the following SQL statement

First you need to log on using DBA.

To run the cmd command-line tool, enter:

Sqlplus/as SYSDBA

Sqlplus sys/Password @ database use case name as Sysdba

After you enter the DBA's username and password


SELECT * from Dba_profiles WHERE profile= ' DEFAULT ' and resource_name= ' Password_life_time '

Query password expiration setting, limit field is the password valid number of days.

Or: Select Username,account_status from Dba_users; You can see that some user status is expired. When the password is about to expire or has expired, the following statement can be used to modify the password, the user can normally connect to the database after the password modification.

ALTER user username identified by password;

Note: If the password consists of a number + password, you must add double quotes to succeed

sql> alter user Ju identified by "123AAA";

Submit

Commit

Exit

Exit


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.