Rebuilding the Oracle password file on Linux

Source: Internet
Author: User

In many cases, the Oracle password file needs to be rebuilt. ORACLE has strict requirements on the password file, such as the file name and file name case. Once the ORACLE_SID was case-insensitive for a long time, the record is as follows:

Linux platform:

Orapwd file = $ ORACLE_HOME/dbs/orapw $ ORACLE_SID password = ''entries = n

Note that $ ORACLE_SID is case sensitive.

Sysdba permissions are recorded in the v $ pwfile_users view, and ORA-01994 errors are returned if the password file does not exist

Win platform: orapwd file = $ ORACLE_HOME \ database \ pwd $ ORACLE_SID.ora password = ''entries = n

$ ORACLE_SID is the environment variable. Note the case sensitivity. The password must be consistent with the Database sys password. n indicates the maximum number of users with SYSDBA permissions.

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.