Ora Password

Is there a way to get password for seamless login? Our company policy prohibits hardcoding password into any program. WE need to load data using sql*loader and we are unable to automate the process in unix since we need the password to connect.
Appreciate some response!
Thanks!

Hi,
You can use the Operating System validation of the users feature of Oracle, permitting to the user that execute the cron task to login to the DB using only the OS validation.
One other solution may be to save the username/pwd in an environment variable in an hidden .pwd (for example) file, accessible only to the cron user, in the shell script calling SQL*Loader You have to call that file and then reset the env variable.
Bye Max

Similar Messages

  • Listener.ora password problems

    After a recent IT audit we've been told to set up a listener password for our Oracle 9R2 database on VMS. I tried but got a few error messages when entering the save_config command e.g
    TNS-12570
    TNS-12560
    TNS-00530
    It turns out that we use something called host naming to connect to our database, meaning that although we have a listener.ora file it is empty (or contains only a blank line.) I suspect this is why the password saving is not working. Can anyone shed any light on how to resolve this.

    Try using the netmgr to resolve the issues, this will allow you to configure the listener file via a GUI and set the password.

  • ORA password file problem

    Hi,
    I have created password file while creating the database but now i am getting the error: ORA-01994: GRANT failed: password file missing or disabled.
    -rwxr-xr-x 1 oracle oinstall 3072 Feb 9 12:59 orapwEAMS01.ora
    i have re-created the file force=y and password parameter also "Exclusive"
    SQL> sho parameter password;
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    am i missing here anything?
    --Raman.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Try re-creating the password in ORACLE_BASE\ORACLE_HOME\DATABASE and named PWDsid.ORA

  • ORA-01991: invalid password file

    I used producation backup file to restore in development side... but I get the following errors:
    RMAN> restore controlfile from "E:\RMAN\C-922101420-20090628-01.BCK";
    Starting restore at 29-JUN-09
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=14 devtype=DISK
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    replicating controlfile
    input filename=C:\ORACLE\ORADATA\HUBDB\CONTROL01.CTL
    output filename=C:\ORACLE\ORADATA\HUBDB\CONTROL02.CTL
    output filename=C:\ORACLE\ORADATA\HUBDB\CONTROL03.CTL
    Finished restore at 29-JUN-09
    RMAN> startup mount;
    database is already started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 06/29/2009 15:57:11
    ORA-01991: invalid password file 'C:\oracle\ora92\DATABASE\PWDhubdb.ORA'
    I don't have any ideas?
    Amy

    Dear Amy!
    Symptom:
    When trying to open (or mount) a database the following error is generated:
    ORA-01991: invalid password file '...PWDOrcl.ora'Where ‘Orcl’ is the SID of the database instance.
    Cause:
    Typically some corruption of the password file, or possibly the password file is for another database instance?
    Possible Remedies:
    If encountered when creating the database then it is because Oracle expects to create the password file but it already exists. In this instance database creation will have failed. Delete the password file and try again.
    If it is suspected that the password file is corrupt then try deleting it and recreating it:
    1. Delete the existing password file.
    2.Create a new/replacement password file:
    orapwd file=<path>\PWD<sid>.ora password=oracleUse the same path as given in the Oracle error. The password specified will be the new internal password.
    Yours sincerely
    Florian W.

  • HOW TO RESET SYS PASSWORD after rename of db

    Thanks for taking my quesiton!
    I renamed my database. Everything is working fine except I can not change sys password. If I try I get: ORA-28003 : password verified for the specified password failed.
    I can change system's password. I can log on just fine as SYSI think my pwdsid.ora password file may be the problem.
    Has anyone every had this happen?
    Thanks, Kathie

    Hello Kathie,
    http://ora-28003.ora-code.com/
    Have you set some specific password rules? Is the function VERIFY_FUNCTION available for all and is it valid?
    Did you try to change the password for user sys with user sys?
    Try it with some different user which have the rights for that... (for example sys) only for testing...
    @Anantha:
    You are right... but please have a look at here ( Fun with password verification):
    http://radiofreetooting.blogspot.com/2006_04_01_archive.html
    Regards
    Stefan

  • Password file corrupted

    What is the steps taken to create a new password file?

    hi;
    To create a password file follow :
    1.Create a password file with ORAPWD80:
    C:\> ORAPWD80 FILE=PWDSID.ORA PASSWORD=PASSWORD ENTRIES=MAX_NO
    where file: enter file name
    password : enter ur password
    entries : no. of maximum user ex. 15
    2.Set the INITSID.ORA file parameter REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE or SHARED.

  • Changing a SYS Password Permanently.

    Hi,
    How could i change a sys password permanently?
    Kindly post me the steps in changing the same.
    Previously i have tried creating the Orapwd file as follows
    Ive shuddown the DB and exported ORACLE_SID=poorna
    created
    orapwdfile=ORACLE_HOME/dbs/pwdpoorna.ora password=poorna
    I was able to login as sys/poorna as sysdba and sys/sys as sysdba also.
    I want to login as sys/poorna only.
    also i have tried alter user sys identified by poorna (changes doesn't takes permanently)
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Thank You.

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - ProductionYour OS platform is Linux &
    created
    orapwdfile=ORACLE_HOME/dbs/pwdpoorna.ora password=poornayou created password file is in format of Windows. So this password file even if you create, it will be ignored as srp mentioned.
    I was able to login as sys/poorna as sysdba and sys/sys as sysdba also.
    I want to login as sys/poorna only.
    also i have tried alter user sys identified by poorna (changes doesn't takes permanently) When you are the owner of the ORACLE that mean you have OS authentication, Actual authentication no need. Try with wrong password from client machine or any other machine with wrong password. :) then you will.

  • User Names & Passwords for Oracle 9i

    Can some assist me with the correct password for 9i?
    I get the password dialog after scott / tiger or system manager.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jose trejo ([email protected]):
    Does anyone know what the passwords are for Oracle Personal Edition 8i, I tried the current passwords that were given to me, if anyone knows anymore please let me know...
    Thanks<HR></BLOCKQUOTE>
    I have been able to change passwords with the following:
    Delete the file pwdsid.ora (substitude sid with your rela sid); you can find this at
    c:\oracle\ora81\database
    then execute
    ORAPWD FILE=PWDSID.ORA PASSWORD=<anithing>
    With this you can change passwd for "internal" and "sys".
    I did this and it accepted, but latter I got the message
    "can not open file init.ora". I check and the file is where is supposed.
    Does anybody know what can be the problem now?
    null

  • User Names & Passwords for Oracle

    Does anyone know what the passwords are for Oracle Personal Edition 8i, I tried the current passwords that were given to me, if anyone knows anymore please let me know...
    Thanks

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jose trejo ([email protected]):
    Does anyone know what the passwords are for Oracle Personal Edition 8i, I tried the current passwords that were given to me, if anyone knows anymore please let me know...
    Thanks<HR></BLOCKQUOTE>
    I have been able to change passwords with the following:
    Delete the file pwdsid.ora (substitude sid with your rela sid); you can find this at
    c:\oracle\ora81\database
    then execute
    ORAPWD FILE=PWDSID.ORA PASSWORD=<anithing>
    With this you can change passwd for "internal" and "sys".
    I did this and it accepted, but latter I got the message
    "can not open file init.ora". I check and the file is where is supposed.
    Does anybody know what can be the problem now?
    null

  • Change password to internal

    I like to know how can I change the password to internal after install Oracle?
    Thanks for the help.

    Thanks for your help. But no remember one option in any configuration file that permits to put the password to internal since the solution give me in the reply refers to Remote Password File instead of local connection through of Telnet.
    If is possible count with your experience, thank you.
    Andres
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Gopinath ():
    By using ORAPWD file we can change the password of the internal after u create or install.
    This file is to run at dos prompt in %ORACLE_HOME%Bin directory
    And the syntax is
    ORAPWD file=<pwdorcl.ora> password=<pwd>
    pwd can be any password.
    Remember the file name should have extension "ora".
    <HR></BLOCKQUOTE>
    null

  • Invalid password file

    How can I fix this?
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 521634152 bytes
    Fixed Size 729448 bytes
    Variable Size 436207616 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 811008 bytes
    ORA-01991: invalid password file '/u1/ora902/dbs/orapw'
    Thanx.

    NPD.
    The possibility is that probably the password file in use is some how tried to be opened up and have got corrupted or may be due to some other error over h/w or some thing like that ,its corrupted. The best option would be
    0) Shut abort the current instance.
    1) Go to the location,*'/u1/ora902/dbs* and delete the password file.
    2) Use ORAPWD and create a new one. You may use this command syntax,
    orapwd file='/u1/ora902/dbs/pwd<sidofyours>.ora' password=password enteries=some_number 3)Issue startup again.
    Hope this would resolve it.
    HTH
    Aman....

  • Lost sys password ...any way to recover

    hi All
    I lost the sys password ... is there any way to recover it ....
    Thanks

    Pay no attention to the ridiculous piece of advice you've just been given by someone else! Restoring a prior backup would be a monumentally moronic thing to do -apart from anything else, all you'd be doing is restoring the password you say you've forgotten!
    You don't say what OS you're on, and that makes a bit of a difference, but ultimately not much so I'll just carry on... but as a tip for the future, always mention your OS because then people replying don't have to guess.
    1. Members of the dba group (or the ORA_DBA group on Windows) are allowed to log on as a SYS without supplying a password at all. Connect / as sysdba means "get me on as sys, but I'm not telling you my password" -at which point Oracle checks who you're logged on to at the OS level, and then checks the group memberships of the dba (Linux/Unix) or ORA_DBA groups (Windows). If you're a member you're in... and then you can issue a command such as 'alter user sys identified by newpwd'.
    You can only really do this technique, however, when you're connecting on the box which runs Oracle itself. If you don't have access to the server, it's not going to work. You also need to configure those OS groups with the appropriate tools. If you don't know how to do that, you're in trouble.
    2. If you're using a password file to authenticate as SYS, then you can simply delete the existing password file and replace it with a new one... and you get to specify the new password for SYS at the time you create the new file. The utility provided by Oracle for this purpose is "orapwd" and the command on Windows, for example, would look like:
    orapwd file=c:\oracle\10g\databases\pwdSID.ora password=newpwd entries=20
    The file has to live in the ORACLE_HOME\database or ORACLE_HOME/dbs directory; it has to be called whatever is appropriate for your operating system (now you see why it helps to know your OS!) and the figure for "entries" represents how many people you might want to grant the SYSDBA privilege to in the future, so make it higher than you think you need right now.
    On Linux, the required name for the password file is of the form orapwSID, where SID is the name of your instance/database. On Windows, it's as I showed you above: pwdSID.ora.
    Once you have a new password file in place, you can log in as 'sys\newpword@somedb as sysdba' and again issue an 'alter user sys identified by yetanothernewpword' command: that will update the password file as well as changing things inside the database itself and you'll log on with that password thereafter.

  • 使用Rman恢复时出现ORA-01991

    db:9.2.0.4
    os:windows 2003 32bit
    操作如下:
    1 初始化文件都已经建好
    2 password file是之前一个数据库使用过的
    3 把另外一个数据库恢复到这台机器,在恢复完controlfile之后出现:
    Starting restore at 10-DEC-12
    channel ch0: restoring controlfile
    channel ch0: restore complete
    replicating controlfile
    input filename=E:\ORADATA\CONTROL01.CTL
    output filename=E:\ORADATA\CONTROL02.CTL
    output filename=E:\ORADATA\CONTROL03.CTL
    Finished restore at 10-DEC-12
    released channel: ch0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 12/10/2012 11:08:02
    ORA-01991: invalid password file 'D:\oracle\ora92\DATABASE\PWDsfcdb.ORA'
    使用password文件也是可以正常登陆的,不知为何会这样

    但是为何别的数据库的password file 不能用呢,实例名都是一样的

  • Login problem through password file

    Hi all
    i am using oracle 11g release 1 on CENTOS LINUX 5.
    i have a login problem AS
    login at OS authentication is sucessful as
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL>
    but when i login from password file as
    SQL> connect sys/oracle@stan as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    SQL>
    i created new password file as
    orapwd file=$ORACLE_HOME/dbs/orapwSTAN.ora password=oracle entries=5
    opertaing system authentication are given as
    [oracle@testserver ~]$ id
    uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba) context=user_u:system_r:unconfined_t
    any help is appreciated

    The name of the password file isn't random.
    The SID is case sensitive, and the password file in Unix has no extension!
    So if the filename is wrong, the passwordfile will not be used.
    This filename looks wrong, at least the .ora bit should be removed.
    Sybrand Bakker
    Senior Oracle DBA

  • Lost sys password

    My Db Version:10.2.0
    OS: Solaris
    I lost my sys password and trying to recreate the password file by issuing
    $/export/home/oracle/product/10.2.0/db_1/dbs/ orapwd file=orapw<SID.ora> password=oracle entries=5
    But after that when i am trying to login like
    $sqlplus
    Username:sys as sysdba
    Password:oracle
    I am getting below error:
    ORA-12546: TNS:permission denied

    Please acquire the required permissions :
    ORA-12546: TNS:permission denied
    Cause: User has insufficient privileges to perform the requested operation.
    Action: Acquire necessary privileges and try again.
    Please export the ORACLE_HOME and ORACLE_SID and then re-create the password file
    After recreating the password file , please login .. it will work.
    regards,
    imran khan

Maybe you are looking for

  • Adobe Reader 11.0.10 - crashing after inserting multiple comments

    I have not used comments much before in Adobe Reader. I have been using them heavily the past 2 days in a detailed review. I have been saving after every few comments, as Reader has closed unexpectedly many times. The PDF files are on a network share

  • Garageband 3.01 will not load with System 10.4.4,5 or 6

    Hello Helpful Forum I upgraded to system 10.4.4 (then .5 and .6) on my 17in POWERBOOK 1.67. What a mistake. Not only does Garageband 3.0 or 3.0.1 not load but the Help feature in every program crashes whenver I try to use it. The BACKUP application f

  • RMAN scripts & variables/parameters

    Hi We are using RMAN with TSM. There are a number of 9i and 8i databases. I tried to set the environment up to with as few scripts as possible to cover the variety of databases. I provide various variables/parameters to handle the differences between

  • Columns in table of Smartform

    HI, It's rather a simple question for most of you but as I am new to Smartforms I am little confused ... I had created a table in the main window with two columns and had also created two text elements and assigned to the table but my problem is the

  • Essbase Error Number 1051440

    Hi , When i tried to connect the essbase from Excel , it throws Error Numer . Please let me know , what is the cause for this error number ??even i searched in Essbase error info pages , there is no information about this error. Thanks in advance Edi