Password files allow you to set passwords that are stored outside the database and that are used for authenticating administrators. These passwords are stored in an external file that is encrypted by Oracle. Password files can be even used if the database is down-so. You can use this passwords even if database is down .
To create a password file use the ORAPWD utility:
[oracle@orcl ~]$ orapwd file=./test_pwd entries=100 ignorecase=n Enter password for SYS: [oracle@orcl ~]$
After creating the password file, you must set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to an appropriate value ( NONE, EXCLUSIVE and SHARED ).
NONE-causing Oracle to behave as though a password file does not exist. EXCLUSIVE means that the password file is being used only by your database and that you can modify it from within the database . SHARED-allows you to use a single password file for multiple databases, but none of them can update the password file. If you need to update the password file then you need to switch this parameter to EXCLUSIVE in one of the databases, change the password file and then change it back to be used as SHARED.
SQL> show parameter remote_login_passwordfile; NAME TYPE VALUE -------------------------- ----------- --------------- remote_login_passwordfile string EXCLUSIVE
Now try connect to oracle as sysdba from other machine
C:UsersValeh>sqlplus sys@db11g as sysdba SQL*Plus: Release 188.8.131.52.0 Production on Sun Jul 5 00:17:21 2015 Copyright (c) 1982, 2010, Oracle. All rights reserved. Enter password: Connected to: Oracle Database 11g Enterprise Edition Release 184.108.40.206.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL>