Oracle password expiration processing method

tags: Oracle  

Not installed locallyOracle,installedoracleClient and PL/SQL Developer. To achieve oracledatabaseVisual operation.

PL/SQL cannot log in while using it, and it prompts an error: ORA-01017: invalid username/password; logon denied error (users and passwords in the program cannot be logged in, login is refused).

 

Log in to the PL/SQL tool with an administrator account (mine is system)

1. Enter the query:

  1. select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';  

The result shows that the password is valid for 180 days

2. Enter the command:

  1. alter profile default  limit password_life_time unlimited;  
  2. commit;  

Execute again:

  1. select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME'; 

The following picture is displayed:

Command to change the new password:

  1. alter user database username identified by the new database password;


If the system needs to change to the original password:

  1. alter user database username identified by the original password of the database;


Note: You need to change the new password and then change it back to the original password, the original password will take effect

If the account is locked, an unlock command is required

  1. alter user database username identified by database password account unlock;


debug again, the problem is solved

Intelligent Recommendation

1. oracle password expiration settings

By the time ORACLE_NET_SERVICE connection to the database, error ORA-28001: the password has expired password is invalid 1.View online documentation related error ORA-28001: the password has expired C...

Oracle database prompts password expiration

Transfer from: There are generally two possible reasons for the expiration of the Oracle database password: 1. It is caused by the default setting of "PASSWORD_LIFE_TIME=180 days" in the def...

Oracle user password expired processing method

Oracle11g defaults for the user's password is valid for 180 days. After password expires, the user cannot log in to the system. Modify the default configuration of Oracle11G, modify the default value ...

Oracle modify user password expiration time

The deployed web application suddenly fails to log in to the system. The background tries to restart to see if it can be recovered. It finds that the database connection pool part reported an error du...

Detailed explanation of password expiration in Oracle 11g

When the Spring Festival comes back, it directly prompts the database user to expire, and quickly solve the problem. Find the following article, summed up very well, and turn directly. http://www.jb51...

More Recommendation

Oracle-ORA-28001: password expiration Solution

Oracle an error message:ORA-28001: the password has expired; this is Oracle11g new features, the default password is valid when the Oracle create user is 180 days, over 180 days without making the use...

Password expiration Oracle process leading to exhaustion

oracle suddenly Rom! Roughly like this misstatements: But not all the time are being given, sometimes normal, especially in the database immediately after the restart. Went to see the administrator wi...

Solve the oracle database password expiration problem

1. View the default management method of user password select profile from dba_users where username=‘plat’; 1. Check the validity period of the default password management method of the da...

Oracle 11g database password expiration solution

The online service suddenly failed to connect to Oracle, and the service reported a password expiration error. Under normal circumstances, there are two cases of password expiration: 1. Due to the def...

How to deal with the expiration of oracle user password

If the Oracle database does not specify a configuration profile, then the default profile used by the user is usually DEFAULT, and the default profile specifies that the validity period of each user p...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top