If you change the REMOTE_LOGIN_PASSWORDFILE initialization parameter from none to exclusive or shared, then you must ensure that the passwords stored in the data dictionary and the passwords stored in the password file for the non-SYS administrative users, such as SYSDBA, SYSOPER, SYSBACKUP, SYSDG, and SYSKM users are the same.
Adding Users to a Database Password File
When you grant SYSDBA, SYSOPER, SYSBACKUP, SYSDG, or SYSKM administrative privilege to a user, that user’s name and privilege information are added to the database password file.
CompTIA certification malaysia
A user’s name remains in the password file only as long as that user has at least one of these privileges. If you revoke all of these privileges, then Oracle Database removes the user from the password file.CompTIA certification malaysia
dell emc certification malaysia
Creating a Password File and Adding New Users to It
Use the following procedure to create a password file and add new users to it:
- Follow the instructions for creating a password file as explained in “Creating a Database Password File with ORAPWD”.
- Set the
REMOTE_LOGIN_PASSWORDFILEinitialization parameter toexclusive. (This is the default.)Oracle Database issues an error if you attempt to grant these privileges and the initialization parameterREMOTE_LOGIN_PASSWORDFILEis not set correctly. - Connect with
SYSDBAprivileges as shown in the following example, and enter theSYSpassword when prompted: CONNECT SYS AS SYSDBA - Start up the instance and create the database if necessary, or mount and open an existing database.
- Create users as necessary. Grant
SYSDBA,SYSOPER,SYSBACKUP,SYSDG, orSYSKMadministrative privilege to yourself and other users as appropriate.
Leave a Reply