Oracle Database Password Expiration error

Source: Internet
Author: User

[Email protected] ~]# su-oracle

[Email protected] ~]$ Sqlplus/as SYSDBA

Sql*plus:release 11.2.0.1.0 Production on Tue Dec 15 09:23:28 2015

Copyright (c) 1982, Oracle. All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Production

With the partitioning, OLAP, Data Mining and Real application testing options

Sql> SELECT username,profile from Dba_users; ---See which of the user's profile is, usually the default

USERNAME profile

------------------------------ ------------------------------

SPATIAL_WFS_ADMIN_USR DEFAULT

SPATIAL_CSW_ADMIN_USR DEFAULT

Apex_public_user DEFAULT

DIP DEFAULT

Mddata DEFAULT

Xs$null DEFAULT

ORACLE_OCM DEFAULT

SCOTT DEFAULT

Umpuser DEFAULT

SEARCH DEFAULT

Olapsys DEFAULT

USERNAME profile

------------------------------ ------------------------------

Si_informtn_schema DEFAULT

Owbsys DEFAULT

Ordplugins DEFAULT

XDB DEFAULT

ANONYMOUS DEFAULT

Ctxsys DEFAULT

Orddata DEFAULT

Owbsys_audit DEFAULT

apex_030200 DEFAULT

Appqossys DEFAULT

Wmsys DEFAULT

USERNAME profile

------------------------------ ------------------------------

Exfsys DEFAULT

Ordsys DEFAULT

Mdsys DEFAULT

Flows_files DEFAULT

Sysman DEFAULT

Dbsnmp Monitoring_profile

Outln DEFAULT

SYSTEM DEFAULT

SYS DEFAULT

Mgmt_view DEFAULT

Rows selected.

Sql> ALTER profile DEFAULT LIMIT password_life_time UNLIMITED; --Set password expiration to unlimited

Profile altered.

Sql> SELECT * from dba_profiles s WHERE s.profile= ' DEFAULT ' and resource_name= ' password_life_time '; --Check the password expiration date

Profile Resource_name RESOURCE

------------------------------ -------------------------------- --------

LIMIT

----------------------------------------

DEFAULT Password_life_time PASSWORD

UNLIMITED

You do not need to restart the database for immediate effect.

This time can use Plsql login, login will let you enter the password, you enter the original password can be.

or executing on the server

Sql>alter user username identified by < original password >--Can not change password.

If you modify the service again, you will not be able to report the database password expiration error.


Oracle Database Password Expiration error

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.