Using password file authentication, administrative users can be connected and authenticated to a local or remote database by using the SQL*Plus CONNECT command. By default, passwords are case-sensitive.
To connect using password file authentication:
- In SQL*Plus, execute the
CONNECTcommand with a valid username and password and theASSYSDBA,ASSYSOPER,ASSYSBACKUP,ASSYSDG, orASSYSKMclause.
For example, if user mydba has been granted the SYSDBA privilege, then mydba can connect as follows: CONNECT mydba AS SYSDBA
However, if user mydba has not been granted the SYSOPER privilege, then the following command fails:
CONNECT mydba AS SYSOPER
Leave a Reply