As salamualikum (islamic greetings), brothers and
sisters. :)
Today we talk on issue of Oracle Database password Expired issues show version 11g and on words.
What will you see ?
Solution::
- Connect to Database with SYS DBA.
For
Example
C:\oraclexe\app\oracle\product\11.2.0\server\bin>SQLPLUS/NOLOG
SQL*Plus: Release 11.2.0.2.0 Production on Fri May 23 19:53:42 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> CONN SYS/SYSTEM11g AS SYSDBA
SQL*Plus: Release 11.2.0.2.0 Production on Fri May 23 19:53:42 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> CONN SYS/SYSTEM11g AS SYSDBA
- Execute the following query
- Sql > select * from dba_profiles;
You will see something like bellow…
(Shortened)
1. PROFILE RESOURCE_NAME RESOURCE LIMIT
2. --------------------
------------------------- -------- ---------------
3. DEFAULT FAILED_LOGIN_ATTEMPTS PASSWORD 10
4. MONITORING_PROFILE PASSWORD_LIFE_TIME PASSWORD DEFAULT
5. DEFAULT PASSWORD_LIFE_TIME PASSWORD 180
6.
7. PROFILE RESOURCE_NAME RESOURCE LIMIT
8. --------------------
------------------------- -------- ---------------
9. MONITORING_PROFILE PASSWORD_REUSE_TIME PASSWORD DEFAULT
10.DEFAULT PASSWORD_REUSE_TIME PASSWORD UNLIMITED
11.
12.32 rows
selected.
- Here PASSWORD_LIFE_TIME field is responsible for expiring of password after 180 days.
- Execute following command to disable this feature:
- Sql> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
- Now crosscheck for disabling of this feature.
- Sql > select * from dba_profiles;
- The value in PASSWORD_LIFE_TIME has changed to unlimited. Now password will never expire.
You are almost DONE
Here are two options to reset password.
Either you can keep same password or you can give a new password.
One is..
You are Done :)
Pray for me to Almighty Allah (swt) to keep it up and for my hereafter.
No comments:
Post a Comment