Error ORA-28002: the password will expire within 7 days Solution

Source: Internet
Author: User


Error ORA-28002: the password will expire within 7 days solution: when using sqlplus today, www.2cto.com ================== ======================================= ERROR: ORA-28002: the password will expire within 7 days ================================ ================== prompt that the password is about to expire, because the test database needs to be connected, it is decided to set the password to never expire. 1. view the user's profile Settings: SELECT username, profile FROM dba_users; generally, the user's profile settings are DEFAULT. 2. View PASSWORD_LIFE_TIME settings in system profiles. SELECT * FROM dba_profiles s WHERE s. profile = 'default' AND resource_name = 'password _ LIFE_TIME '; PROFILE RESOURCE_NAME resource limit ---------------------------- too many DEFAULT PASSWORD_LIFE_TIME PASSWORD 180dys ==================== =======================================3. modify PASSWORD_LIFE_TIM settings in DBA_PROFILES to ULIMITED. Alter profile default limit PASSWORD_LIFE_TIME UNLIMITED; after modification, the setting takes effect immediately. You do not need to restart the database, and the password will never expire. 4. the account that has been reported that the password is about to expire must change the password again (the DBA permission is required). Take the system user as an example: sqlplus/as sysdbaalter user system identified by root; the password will no longer expire when you connect to the data again. If it is another user, use another user name. Alter user scott identified by tiger;

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.