To prepare for password file authentication, you must create the password file, set the REMOTE_LOGIN_PASSWORDFILE initialization parameter, and grant privileges.
To enable authentication of an administrative user using password file authentication, you must do the following:
- If it is not already created, then create the password file using the
ORAPWDutility: orapwd FILE=filename FORMAT=12.2 - Set the
REMOTE_LOGIN_PASSWORDFILEinitialization parameter toexclusive. (This is the default).Connect to the database as userSYS(or as another user with the administrative privileges). - If the user does not already exist in the database, then create the user and assign a password. Keep in mind that database passwords are case-sensitive.
- Grant the
SYSDBA,SYSOPER,SYSBACKUP,SYSDG, orSYSKMadministrative privilege to the user. For example: GRANT SYSDBA to mydba;
Leave a Reply