ORAPWD

hi
a question about ORAPWD.....we create password file using oradim command while creating a
database..
then what is the need for ORAPWD.....because when we create password file we don tell it any
database this file should belong....
and second thing that we user -INTPWD parameter while using ORAPWD utility...what is this for
as while giving password for user SYS... we dont know
for which database this password will be used for user SYS
kindly give some explanation.....
REGARDS

Hi,
ORADIM is not used to create password file - it is used to create a service in Windows OS.
When i issue orapwd command it checks the value of ORACLE_SID and updates that particular instance with the new password.
And while connecting from remote machine we use TNS entry which takes us to a particular database on the server machine.
So i don't think there is any confusion about this.
Thanx

Similar Messages

  • Error in dbca with orapwd file

    dear all.
    i want to install 9204 64 bits in centos 4.8 64 bits
    i installed the rpms and when i want to create the database this show the next error:
    error in process: /u01/app/oracle/product/9.2.0/bin/orapwd
    My *.bash_profile* have the next lines:
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    # Oracle 9i
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/9.2.0; export ORACLE_HOME
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    ORACLE_OWNER=oracle; export ORACLE_OWNER
    ORACLE_SID=smigds export ORACLE_SID
    LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH
    LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNEL
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    I search for this error but i didn't find anything.
    Thanks a lot for your answers.

    Oracle Databaes 9.2.0.4 is so old it is in desupport mode and it has never been tested, supported, or certified on CentOS.
    My recommendation would be to get a supported operating system and use it with a currently supported and fully patched version of the product.
    For help with orapwd
    http://www.morganslibrary.org/reference/utilities.html#utop
    for a working demo.
    Ignore case, and NoSYSDBA are not available in ancient versions of the product.

  • ORA-01017: invalid username/password; how to find out orapwd files 's pwd

    Hi, gurus,
    I have this error after I copied primary db orapwd files over to standby instance and tried to log in sys as sysdba :
    ORA-01017: invalid username/password; logon denied
    Is this means the sys password I provided is not the one generated as per orapwd utility?
    however I can log in to sys/password as sysdba if I set the oracle sid environemnt to that db.
    Anybody help here?
    Thanks.

    Hello;
    In that case you would have to change the SYS password at the Primary ( so you know it ) and then do the copy and rename again.
    Don't forget to stop apply on the standby and then shutdown and restart on the new password file. ( or you will have issues )
    Proof :
    Re: Transport service doesn't work with error  ORA-16191
    Best Regards
    mseberg
    Double check of my notes
    ORA-01017
    Change the sys password in the primary database using the alter system command, it updates the password file in the ORACLE_HOME of the primary database, it doesn't update password file in the standby database.
    In Oracle 10 you can create a password file. In Oracle 11 you must move a new copy to the standby.
    Edited by: mseberg on Jul 6, 2012 6:30 AM

  • Using orapwd utility

    hi,
    After using orapwd utility , I am able to login to oracle as "[anyuser] as sysdba" without any password or any dummy password. It is confusing me what really happened. Did oracle gave sysdba permissions to everyone?
    rgds
    amaresh

    Well this didn't happen because of orapwd utility.
    I guess you are accessing the database from same machine where it is installed. Oracle provides a feature called OS authentication whereby if you are authenticated by OS, you can login in to Oracle without any further authentication.
    That is why you can login as conn /as sysdba . The username and password are ignored even if you supply them wrong (or if you give some other user's name or password) and you are logged in as SYS ( check show user).
    If you want to login as some user other than SYS, omit the "as sysdba" and you will be logged in appropriately without SYSDBA privileges.
    Chandar

  • 10g1 Linux x86 silent install  orapwd remote_login_passwordfile  ORA-01031

    I have completed a silent install of 10g1 EE on Linux x86 followed by emca on command line, executed orapwd to create orapwdSID file in $ORACLE_home/dbs with password for sys, set remote_login_passwordfile =EXCLUSIVE, am able to sqlplus connect / as sysdba on the server, but still get ORA-01031 insufficient privileges when logging in through OEM.
    I have read an awful lot of posts about this. I am not in a position to use a DBCA GUI installation.
    Any thoughts?
    Peter

    there is no line in my sqlnet.ora for sqlnet.authentication_services
    I added your suggestion
    sqlnet.authentication_services= (none)
    still got error 01031
    but did find that I had named the orapwd file incorrectly as orapwd<sid> instead of orapw<sid>
    I also found that trying to register a sys password containing an @ seemed to confuse the orapwd utility no matter whether I enclosed it in double quotes or not
    so my workaround was to alter user sys identified by dummypassword
    and then run orapwd using dummypassword
    finally alter user sys identified by "mydesiredp@sswd" using doublequotes to escape the @
    which successfully updates the orapw<sid> file
    thanks for your help and suggestion
    Peter

  • Orapwd problem

    hi every one i am new to Oracle
    I am trying to set password by orapwd utility.
    example: orapwd file=orapworcl password=vikas exclusive=3;
    but, when i login as sqlplus sys as sysdba or sqlplus sys/123 as sysdba
    it is login without any authentication....
    Edited by: 993776 on Mar 13, 2013 8:04 PM
    Edited by: 993776 on Mar 13, 2013 8:06 PM

    SYSDBA suffix effectively connects you to the database (using OS authentication, no matter what credentials you provide).
    Tom Kyte specifically stipulates this in this thread.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0%3a%3a%3a%3aP11_QUESTION_ID:61866277480450
    Basically he explains that the SYSDBA suffix effectively connects you to the database as SYS no matter what credentials you give (using OS authentication), the example he uses is:
    connect santa/claus as sysdba same as
    connect / as sysdba
    connect santa/claus as sysdba
    sys%ORA10GR2> connect santa/claus as sysdba
    Connected.
    sys%ORA10GR2> show user
    USER is "SYS"Hope it helps...
    Regards,
    Ankit Rathi
    http://oraclenbeyond.blogspot.in

  • Orapwd file=PWDmydb

    Hi,
    in 8.1.7 on Win server 2003 ,I try to create a password file (the file does not existe) :
    C:\Documents and Settings\Administrator>orapwd file=PWDmydb passwor=oracle
    But I receive this :
    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.
    What is wrong with my syntaxe ?
    Many thanks.

    passwor=oracleShouldn't it be password ?

  • [11g] ORAPWD and ORA-01031

    Hello,
    I use Oracle 11g on Linux and I cannot remotely connect as SYSDBA in sqlplus.
    I created the password file with ORAPWD, I set parameter remote_login_passwordfile to EXCLUSIVE and I restarted the database.
    But I still get the error ORA-01031: insufficient privileges.
    When I check the v$pwfile_users view, it is empty:
    SQL>  SELECT FROM v$pwfile_users ORDER BY username;*
    no row
    If I connect with other user non-SYSDBA, it does work.
    What did I forget?

    Hi,
    Checklist to help you to solve your problem:
    1)Check if use belong to DBA group.
    2)Set ORACLE_SID, export ORACLE_SID=<Instance name>
    3) Check if remote_login_passwordfile parameter in your pfile or spfile is set to either EXCLUSIVE or SHARED .
    4) Create the password file in your $ORACLE_HOME/dbs
    Also take a look in the following Metalink Notes:
    - Troubleshooting ORA-1031 Insufficient Privilege -      Doc ID:      Note:730067.1
    - UNIX: Checklist for Resolving Connect AS SYSDBA Issues -      Doc ID:      Note:69642.1
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • ORAPWD in Linux

    I am trying to create my sys password in linux using orapwd.
    cd $ORACLE_HOME/dbs
    export ORACLE_SID=ddd
    orapwd file=orapwddd password=ddd entries=5
    And I got this error:
    Unable to find error file.
    Error code 5
    I need help

    Could you post your enviroment?

  • Orapwd questions

    Hi, I'm studing oracle 11g and have some basic questions about orapwd utility and password file authentification
    1. orapwd FILE=orapwSID password=123123 ENTRIES=30
    is it to create a password file only for sys? what should I do to connect to the database with sysdba privileges but other than sys? for example, grant sysdba to scott?
    what if I already have a file called orapwSID, and want to append another password to the password file so that different users can access database with different passwords. Is it possible to do?
    2.If I connect as sysdba to the database and then grant sysdba to scott. I then use
    conn scott/password_for_scott as sysdba
    I cannot connect to the database. but when I check
    select * from v$pwfile_users;
    username sysdb sysop sysas
    sys true true false
    scott true false false
    3. It seems that there is no connection between (orapwd, password file) and (grant sysdba to scott). I mean, if scott is also a sysdba, can I use orapwd and password file to create new password for scott as another sysdba (me and scott are both dba's)
    4.If I am the original sysdba, and granted sysdba to scott. Is it possible for him to revoke sysdba from me? Since I cannot connect as sysdba using scott account, cannot do the experiment...
    Thank you very much!

    Ready, FIRE, Aim!
    consider actually Reading The Fine Manual to understand the nature of the beast you are poking.
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/toc.htm
    FWIW - the external password file is only used for SQL*Net initiated connections.
    Properly credentialed OS user does NOT require any password to connect as SYS AS SYSDBA

  • How to open orapwd tool to create password file?

    Hi Guys,
    I got information as
    orapwd
    orapwd file=password_file_name password=the_secret_password
    orapwd file=password_file_name password=the_secret_password entries=n
    There is a default location and name for password files. When a password file is created, it should be created in that location.
    n specifies the maximum number of distinct DBAs and OPERs that can be stored in the password file.
    orapwd is a command line tool to create password files.
    How to open orapwd tool to create password file?
    Thanks
    Jim

    Hi
    ORAPWD is a oracle utility to craete a password file to identify users that can use the SYSDBA and SYSOPER privileges when connecting to the database.Its not a GUI utility.It is run on the cmd(in windows) abd on the terminal(in unix).
    To create the password file the command is
    orapwd file=filename  password=password entries=max_users
    You can refer to below links
    [http://download-uk.oracle.com/docs/html/A97297_01/ch1_admin.htm#sthref215]
    [http://www.oracleutilities.com/OSUtil/orapwd.html]
    HTH
    Anand

  • Forgot my SYS and SYSDBA password and used orapwd

    Hi all,
    I have successfully installed Oracle 11g and was able to create the ORCL database as well. I also run a script to create another database but there were tables that were auto-generated by the system such as the APPLY$_CHANGE_HANDLERS with many other tables names with "$". I was trying to DROP these tables but ORA-00604 and ORA-00942 errors kept appearing.
    I thought maybe I need to login as SYSDBA but I forgot the password during installation so I used the Oracle_Home\BIN\orapwd. CMD prompt appeared but quickly gone away.
    I appreciate any help:
    1. I need to change SYSDBA password
    2. I need to drop the unwanted tables created by the system.
    Thanks in advance

    918937 wrote:
    entering pw in the cmd prompt doesn't do a thing.Hm, it seems you use orapwd in a wrong manner, please read it's help message, it's quite simple to recreate pwd file.
    I cannot seem to connect to default ORCL database in the Oracle SQL Developer using the SYS, SYSDBA users. So I used the Oracle_Home\BIN\orapwd but as mentioned before the cmd prompt appeared for a split second.ofcause it would.
    I am still digging in the forums and google but could not find a definite solution~Solution is: recreate your password file by orapwd utility in command prompt.

  • I have only oradata folder. how i can create orapwd file.

    i have oracle 8.1.7 installed on oracle 2000 professional. my harddisk crashed but i have oradata file only.
    how i can create orapwd from that
    thanks and regard
    Rizwan

    user4305377 wrote:
    i have oracle 8.1.7 installed on oracle 2000 professional. my harddisk crashed but i have oradata file only.
    how i can create orapwd from that
    thanks and regardRizwan
    You don't need oradata folder to create the password file. All you need is the orapwd util to create it. Just do as follows,
    E:\>orapwd
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n>
      where
        file - name of password file (mand),
        password - password for SYS (mand),
        entries - maximum number of distinct DBA and     force - whether to overwrite existing file (opt),
    OPERs (opt),
      There are no spaces around the equal-to (=) character.
    E:\>orapwd file=<your file location> password=<your password here> enteries=5 force=NOracle would create the password file for you in the Databsae folder.
    HTH
    Aman....

  • Orapwd - unable to find error file

    i have executed
    orapwd file=pwdfile password=password
    and an error has occurred. I cant find any documentation mentioning this error file at all. is there any tips on where to find this? or more probable how do i create one?
    i have checked that the ORACLE_HOME and ORACLE_SID are correct so that shouldnt be the problem

    entries is optional so i have left that out.
    the error that is being is displayed is "unable to find error file"
    i am able to log into the database as a user that is part of the dba group. using conn / as sysdba
    however as a normal user if i try conn sys/password as sysdba it says i have insufficient provileges. password being what i tried to set up in password file
    $ORACLE_HOME/dbs is where i am storing the password file
    Message was edited by:
    craig

  • Orapwd error at create database

    [oracle@server1 bin]$ echo $ORACLE_HOME
    /opt/oracle/product/10.2.0/db_1
    [oracle@server1 bin]$ echo $ORACLE_SID
    testdb
    [oracle@server1 bin]$ orapwd file=/opt/oracle/product/10.2.0/db_1/dbs/orapwtestdb password=testdb
    Segmentation fault

    hi,
    you can also use 'FORCE=Y' option with ORAPWD file if password file already exists.
    $orapwd file=/app/oracle/db_1/dbs/pwd<sid>.ora password=pwd entries=xx force=yregards
    Taj

Maybe you are looking for

  • Display freezes

    Out of nowhere today, the display on my G5 froze. My mouse works, but I'm unable to click on anything (and hovering over the dock doesn't do anything, either). I tried to restart but the same thing happens. I've also hooked it up to an external displ

  • HP officejet 6600 connected to wifi but no ping

    Hi we have an officejet 6600 printer installed with the latest firmware. Since last weekend we cannot ping the printer any more. Not from mac (without firewall software) nor from pc. The printer is connected to the wireless network. Het gets an IP ad

  • 6i recut version and release 2

    What is developer 6i recut version? And, are the recut version the same as release 2? My form and reports version are 6.0.8.19.x. Do I need to download anything to upgrade to recut version in order to apply patch 13 for Windows XP? Please help!

  • Need Authentication for SMTP Access

    I have this Java program (SendMail.java) for sending email; however, my ISP requires authentication for SMTP server access, i.e. I receive a 550 Authentication Required error. Does anyone know how to go about coding authentication into a program like

  • HR Structure to SRM...

    Hi All, I would like to know that What are the HR objects and Relationships that will go into SRM system. What is SAP recommended ? I know that we have to send the Org Units, Positions etc. But would like to know what exactly have to be sent to them