oracle:the password has expired

Today, when in use dbvisualizer login database, called the mistake the password has expired, so the Internet search a bit reason is because the database password has expired, because the default is 180 days.

Solution:

1) log in with system users

su - oracle prompted for a password.

sqlplus /nolog

conn sys prompted for a password, the password is as sysdba

2) query password expiration

SELECT * FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME' 

You can see the default is 180 days.

3) Change Password

ALTER USER username IDENTIFIED BY password

如:alter user zxx identified by zxx;

4) Modify password expiration

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED 

OK, the password has been changed to permanent!

 

Original Address: https://www.cnblogs.com/fxl-njfu/p/8857935.html

Today, when in use dbvisualizer login database, called the mistake the password has expired, so the Internet search a bit reason is because the database password has expired, because the default is 180 days.

Solution:

1) log in with system users

su - oracle prompted for a password.

sqlplus /nolog

conn sys prompted for a password, the password is as sysdba

2) query password expiration

SELECT * FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME' 

You can see the default is 180 days.

3) Change Password

ALTER USER username IDENTIFIED BY password

如:alter user zxx identified by zxx;

4) Modify password expiration

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED 

OK, the password has been changed to permanent!

 

Guess you like

Origin www.cnblogs.com/jpfss/p/10980699.html