In addition to creating the password file, you must also set the initialization parameter REMOTE_LOGIN_PASSWORDFILE to the appropriate value. The values recognized are:
-
NONE: Setting this parameter toNONEcauses Oracle Database to behave as if the password file does not exist. That is, no privileged connections are allowed over nonsecure connections. -
EXCLUSIVE: (The default) AnEXCLUSIVEpassword file can be used with only one instance of one database. Only anEXCLUSIVEfile can be modified. Using anEXCLUSIVEpassword file enables you to add, modify, and delete users. It also enables you to change theSYSpassword with theALTER USERcommand. -
SHARED: ASHAREDpassword file can be used by multiple databases running on the same server, or multiple instances of an Oracle Real Application Clusters (RAC) database. ASHAREDpassword file cannot be modified. This means that you cannot add users to aSHAREDpassword file. Any attempt to do so or to change the password ofSYSor other users with theSYSDBAorSYSOPERprivileges generates an error. All users needingSYSDBAorSYSOPERsystem privileges must be added to the password file whenREMOTE_LOGIN_PASSWORDFILEis set toEXCLUSIVE. After all users are added, you can changeREMOTE_LOGIN_PASSWORDFILEtoSHARED, and then share the file.This option is useful if you are administering multiple databases or a RAC database.
If REMOTE_LOGIN_PASSWORDFILE is set to EXCLUSIVE or SHARED and the password file is missing, this is equivalent to setting REMOTE_LOGIN_PASSWORDFILE to NONE.
Note:
You cannot change the password forSYS if REMOTE_LOGIN_PASSWORDFILE is set to SHARED. An error message is issued if you attempt to do so.
No comments:
Post a Comment