orapwd file (adding entries)
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: orapwd file (adding entries)

  1. #1
    Join Date
    Jul 2006
    Posts
    195

    orapwd file (adding entries)

    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
    Share on Google+

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    Self-inflicted wound. Read the documentation. Plus questioned was spammed on other sites.
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width