Unix Technical Forum

oracle password file

This is a discussion on oracle password file within the Oracle Database forums, part of the Database Server Software category; --> how does oracle know what password filebelongs to each db, does it just ?/dbs/owpwd<SID> or is it held with ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 05:19 PM
doug.fulton@gmail.com
 
Posts: n/a
Default oracle password file

how does oracle know what password filebelongs to each db, does it
just ?/dbs/owpwd<SID> or is it held with the db somewhere??

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 05:19 PM
Mark D Powell
 
Posts: n/a
Default Re: oracle password file

Doug, from the DBA Administrators Guide it would appear that this is
platform specific:

>> (file) This parameter sets the name of the password file being created. You must specify the full path name for the file. ...


The types of filenames allowed for the password file are operating
system specific. Some operating systems require the password file to
adhere to a specific format and be located in a specific directory.
Other operating systems allow the use of environment variables to
specify the name and location of the password file. See your operating
system documentation for the names and locations allowed on your
platform.
<<

Ref - OracleŽ Database Administrator's Guide 10g Release 1 (10.1) Part
Number B10739-01, Ch 1 Overview of Administering an Oracle Database,
topic Using ORAPWD

HTH -- Mark D Powell --

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 05:23 PM
John
 
Posts: n/a
Default Re: oracle password file

In the windows world, you can override the default using a registry entry.
I'm home and don't have the exact entry handy but you can find it easily in
metalink. I did this to move the file from a non-mirrored disk to a
mirrored disk. Works great.


<doug.fulton@gmail.com> wrote in message
news:1130337279.093601.221570@o13g2000cwo.googlegr oups.com...
> how does oracle know what password filebelongs to each db, does it
> just ?/dbs/owpwd<SID> or is it held with the db somewhere??
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-24-2008, 05:23 PM
Mladen Gogala
 
Posts: n/a
Default Re: oracle password file

On Wed, 26 Oct 2005 07:59:07 -0700, Mark D Powell wrote:

> The types of filenames allowed for the password file are operating
> system specific. Some operating systems require the password file to
> adhere to a specific format and be located in a specific directory.


Unrelated to your post, Oracle used to support a shell variable or a
logical in VMS called ORA_PWFILE or ORA_SID_PWFILE which was pointing
to a non-default password file location. As the following shows, this is
no longer supported:

$ strings $ORACLE_HOME/bin/oracle|egrep "ORA_.*PWFILE"|wc -l
0
$

Does anybody here know why was that de-supported?

--
http://www.mgogala.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 05:23 PM
yong321@yahoo.com
 
Posts: n/a
Default Re: oracle password file

Mladen Gogala wrote:
>
> Unrelated to your post, Oracle used to support a shell variable or a
> logical in VMS called ORA_PWFILE or ORA_SID_PWFILE which was pointing
> to a non-default password file location. As the following shows, this is
> no longer supported:
>
> $ strings $ORACLE_HOME/bin/oracle|egrep "ORA_.*PWFILE"|wc -l
> 0
> $
>
> Does anybody here know why was that de-supported?


Using strings to check this is an interesting idea. I tried that on
9.2.0.7 Oracle on Linux and didn't find the string. But "ORA_%s_PWFILE"
and "ORA_PWFILE" both exist in 9.2, 10.1 and 10.2 Oracle.exe on
Windows. According to the message in forum thread 175222.995 (dated
Jan-02), ORA_PWFILE and ORA_SID_PWFILE have some problems on UNIX. That
may be why they're dropped from UNIX. According to an older thread
97750.999, they're not available to UNIX at all. Searching for
"ORA_PWFILE" on tahiti.oracle.com returns hits only pointing to Windows
admin guide in 10g, and Windows admin guide plus ORA-1990 error message
in 9i. Although tahiti doesn't find it, the two variables are indeed
used in VMS as well.

Yong Huang

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com