The ORACLE tutorial is to use and maintain the Oracle password file.
Summary: Oracle relational database system has been widely used for its excellent performance. Ensuring database security is an important part of database management. This article provides a detailed introduction to the creation, use, and maintenance of the password file of the Oracle database system based on the summary of the Oracle database security management work.
In the Oracle database system, if you want to log on to the Oracle database as a privileged user (INTERNAL/SYSDBA/SYSOPER), there are two authentication methods: that is, authentication is performed using the Integrated Identity Authentication with the operating system or using the password file of the Oracle database. Therefore, managing the password file is of great significance for controlling authorized users to log on to the Oracle Database System from the remote end or local end and perform database management.
The password file of the Oracle DATABASE is stored in the Super User INTERNAL/SYS password and the user name/password of other privileged users. It is generally stored in the ORACLE_HOME \ DATABASE directory.
I. Create a password file:
When you use Oracle Instance Manager to create a DATABASE Instance, a password file is automatically created under the ORACLE_HOME \ DATABASE directory. The file name is PWDSID. ORA, where SID represents the corresponding Oracle database system identifier. This password file is the basis for initial database management. Then, the administrator can use ORAPWD. EXE to manually create a password file as needed. The command format is as follows:
C: \> orapwd file = <FILENAME> PASSWORD
= <PASSWORD> ENTRIES = <MAX_USERS>
The meanings of command parameters are as follows:
FILENAME: password file name;
PASSWORD: Set the PASSWORD of the INTERNAL/SYS account;
MAX_USERS: the maximum number of users in the password file, which corresponds to the maximum number of users allowed to log on to the database with SYSDBA/SYSOPER permissions. In future maintenance, if the number of users exceeds this limit, the password file needs to be rebuilt. Therefore, this parameter can be set to be larger as needed.
With the password file, you need to set the initialization parameter REMOTE_LOGIN_PASSWORDFILE to control the Usage Status of the password file.