You can create a database password file with ORAPWD.
To create a database password file:
- Run the
ORAPWDcommand.
Sharing and Disabling the Database Password File
devops certification training courses malaysia
You use the initialization parameter REMOTE_LOGIN_PASSWORDFILE to control whether a database password file is shared among multiple Oracle Database instances. You can also use this parameter to disable password file authentication.
To share a password file or disable password file authentication:
- Set the
REMOTE_LOGIN_PASSWORDFILEinitialization parameter.
You can set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to one of the following values:
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 database. Only anexclusivefile can be modified. Using anexclusivepassword file enables you to add, modify, and delete users. It also enables you to change the password forSYS,SYSBACKUP,SYSDG, orSYSKMwith theALTER USERcommand.When anexclusivepassword file is stored on an Oracle ASM disk group, it can be used by a single-instance database or multiple instances of an Oracle Real Application Clusters (Oracle RAC) database.When anexclusivepassword file is stored on an operating system, it can be used with only one instance of one database.shared: Asharedpassword file can be used by multiple databases running on the same server, or multiple instances of an Oracle RAC database, even when it is stored on an operating system. Asharedpassword file is read-only and cannot be modified. Therefore, you cannot add users to asharedpassword file. Any attempt to do so or to change the password ofSYSor other users with the administrative privileges generates an error. All users needing administrative 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 with a single password file.You cannot specifysharedfor an Oracle ASM password file.
ccna certification training courses malaysia
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.
Leave a Reply