Can somebody review/correct my steps for adding an entry to the orapwd file.
Is there an environment variable I need to set to tell it the name of the password file. In addition, how do I get a "user" in the password file when
orapwd accepts file, password and entries as paramaters. Does this mean
I need to give user "sys" sysdba privs?

USERNAME SYSDBA SYSOPER

------------------------------ ------ -------

SYS TRUE TRUE



/oracle/10.2.0.1.0/dbs> orapwd file=orapwd_pri password=sys entries=50;

/oracle/10.2.0.1.0/dbs> ls -tl orapwd_pri
-rwxrwxr-x 1 oracle dba 7680 Jul 06 12:09 orapwd_pri

/oracle/10.2.0.1.0/dbs> sqlplus "/ as sysdba"

SQL> grant sysdba to pbh;
grant sysdba to pbh
*
ERROR at line 1:
ORA-01994: GRANT failed: password file missing or disabled
SQL> show parameter password;

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string EXCLUSIVE