password file

Hi all

I read the document, but I always get confused on something in the password file

oracle 2 = enteries say this setting means that allow the user to connect with sysdba or sysoper in the same time not longer than 2 bust

I tested this
SQL > grant sysdba to scott, hr, ahmed;

Grant succeeded.

now, I have three windows open and connect with these three users as sysdba

Conn scott as sysdba;
Conn HR as sysdba;
Conn ahmed as sysdba;

This three victory.


This is my first question?


the second, the

well my if I'm wrong password file contain the user name, password and valves. all users, not just sys?


the third party


now, I delete the password file

C:\Documents and Settings\ahmed.adel > sqlplus sys as sysdba

SQL * more: Production version 11.2.0.1.0 on Sun Aug 12 00:39:31 2012

Copyright (c) 1982, 2010, Oracle. All rights reserved.

Enter the password:

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the optio of partitioning, OLAP, Data Mining and Real Application Testing

SQL > grant sysdba Ahmed;
grant sysdba Ahmed
*
ERROR on line 1:
ORA-01994: GRANT failed: password file missing or disabled

When I delete the password file how can I connect with passwordfile?

Thank you very much

861100 wrote:
Thank you very much for your answer, Yes, when I use the user see the the result is sys which is oki

but can I use three connection (three windows and conn as sysdba) when I have tickets = 2?

I have NO idea what you mean above.
What is COPY & PASTE broken for you?

>

can you also me say how other users will connect to the database when isn't in the dba group and the password file is missing?

The easiest way is to use SQL * Net as below:

bcm@bcm-laptop:~$ sqlplus scott/tiger@v112

SQL*Plus: Release 11.2.0.1.0 Production on Sat Aug 11 15:56:30 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

15:56:30 SQL> show user
USER is "SCOTT"
15:56:34 SQL> 

where 'v112' is a valid entry in the tnsnames.ora file & listener is running on the Server DB system

oracle@bcm-laptop:~$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-AUG-2012 15:57:37

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                11-AUG-2012 15:55:37
Uptime                    0 days 0 hr. 2 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Log File         /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/bcm-laptop/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "v112" has 1 instance(s).
  Instance "v112", status READY, has 1 handler(s) for this service...
Service "v112XDB" has 1 instance(s).
  Instance "v112", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@bcm-laptop:~$ lsnrctl service

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-AUG-2012 15:57:43

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "v112" has 1 instance(s).
  Instance "v112", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:1 refused:0 state:ready
         LOCAL SERVER
Service "v112XDB" has 1 instance(s).
  Instance "v112", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:972 state:ready
         DISPATCHER 
         (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=19183))
The command completed successfully
oracle@bcm-laptop:~$ 

Tags: Database

Similar Questions

  • Problem with the password file / restore

    I have a big problem. My laptop [Win XP] had a hardware problem, and I have no external data backup.
    The hard drive is always perfect and I have now connected it as external drive to another laptop [Win Vista].
    Now, I like to use / recover the password file and copy it from the external drive on the new laptop so I have all the passwords again.

    How can I do this?
    Where can I find the encrypted file and where should I put it?
    Depends on this version? I have an older version on the old laptop [I think than 3.4] and now I have 3.6.

    A BIG Thank YOU in advance
    Arthur

    Recovering password files is treated in this article.
    http://support.Mozilla.com/en-us/KB/recovering+important+data+from+an+old+profile

  • When updating the password file database

    In our infrastructure, we have several databases (all 11 GR 2 on Linux) who have access to the same password file.

    If the password of a user stored in the password file is changed in a database, this user password is changed in all databases that use this password file.

    If I query the view of sys.user$, I can see when a user has changed, but only for this database and need to check each database to see if the password has been changed for this database. Is it possible to see which update this file to shared password without connecting to each individual database database?

    Thank you!

    Hi Garrett.

    You have active audit? Also, if you have defined AUDIT_SYS_OPERATIONS to true, you should have some information placed in the $ aud. As Joel Suggested, check the timestamp of the change in the password file.

    I think that if you enabled audit_sys_operations, you would also have records written to audit trail operating systems $ORACLE_HOME/rdbms/audit.

    On another note, according to the literature and my test, if the REMOTE_LOGIN_PASSWORDFILE = SHARED, then you could not change the password for the SYS or other users with SYSDBA privilege.

    Take a look on:

    C:\Users\xxxxx>sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 5 08:17:58 2014
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area 1068937216 bytes
    Fixed Size                  2182592 bytes
    Variable Size             796918336 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                5595136 bytes
    Database mounted.
    Database opened.
    
    SQL> show parameter remote_login_passwordfile;
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    remote_login_passwordfile            string      EXCLUSIVE
    
    SQL> alter system set REMOTE_LOGIN_PASSWORDFILE=shared scope=spfile;
    
    System altered.
    
    SQL> startup force
    ORACLE instance started.
    
    Total System Global Area 1068937216 bytes
    Fixed Size                  2182592 bytes
    Variable Size             796918336 bytes
    Database Buffers          264241152 bytes
    Redo Buffers                5595136 bytes
    Database mounted.
    Database opened.
    
    SQL> show parameter remote_login_passwordfile;
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    remote_login_passwordfile            string      SHARED
    
    SQL> alter user sys identified by oracle1;
    alter user sys identified by oracle1
    *
    ERROR at line 1:
    ORA-28046: Password change for SYS disallowed
    

    So, I was wondering if REMOTE_LOGIN_PASSWORDFILE was the EXCLUSIVE value before the change and changed back? This isn't a dynamic parameter, so you will have to restart your DB. Please check if there's any DB restart or change the setting in the alert.log.

    Kind regards

    Suntrupth

  • Connecting to a remote database (slowed down) with the password file authentication

    Hi all

    I was wondering if it is possible to connect to a remote database is stopped (idle instance) as user sys with sysdba privileges? It is said in the Oracle book - one to page 210 in the section - operating system and the file password authentication:

    Connection with authentication by password file or operating system is always possible, any State of the instance and the database are in and it is necessary to issue commands to START or STOP.

    Above indicates that it is possible, but I can't do it.

    I managed to connect to the remote database that was in mode nomount (see below for more details).

    When I first tried to connect to a remote database (idle instance) using the password file authentication, it gave due to error:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 13:59:28 2012

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the password:
    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect
    descriptor of

    Enter the user name:

    After the start of the database in nomount mode I was getting following error:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 13:48:36 2012

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the password:
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections

    Enter the user name:

    Then I added the clause (UR = A) my listener.ora file and after that it work and I was able to connect:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 14:04:49 2012

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the password:

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options


    SQL >

    I have all the entries of necessairly in tnsnames.ora on my local host.

    Also, I have no problems when connecting as user sys with sysdba when the DB is open, but can't get it working on an idle instance.

    I know I can use OS authentication but want to know if there is a mistake in the book or I'm doing something wrong.

    Kind regards
    Dawid

    Edited by: 978239 2012-12-21 06:24

    I was wondering if it is possible to connect to a remote database is stopped (idle instance) as user sys with sysdba privileges?

    You can, but you need to statically register the database with the listener.

  • GRANT failed: password file missing or disabled

    Hello

    I created the password help file
    orapwd FILE = orapwprj ENTRIES = 30 (where prj is the name of the instance)



    SQL > show parameter remote_login_passwordfile

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    Remote_login_passwordfile string EXCLUSIVE


    SQL > grant sysdba to Arou.
    grant sysdba to Arou
    *
    ERROR on line 1:
    ORA-01994: GRANT failed: password file missing or disabled

    Try to give the full path of the file. Check if the file is created under the folder$ ORACLE_HOME\dbs\

    SID is case-sensitive, try file = $ORACLE_HOME\dbs\PWD

    Published by: Vieira on August 30, 2012 21:52

  • problem connecting via the password file

    Hi all

    I'm using oracle 11g release 1 on CENTOS LINUX 5.
    I have a problem with the connection AS

    connection on OS authentication is successful

    SQL > connect sys as sysdba
    Enter the password:
    Connected.
    SQL >

    but when I connect from the file of passwords as
    SQL > connect sys/oracle@stan as sysdba
    ERROR:
    ORA-01031: insufficient privileges


    SQL >

    I created the new file password as

    orapwd file=$ORACLE_HOME/dbs/orapwSTAN.ora password = entries = 5 oracle

    opertaing authentication system 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 is not random.
    The SID is case-sensitive, and the UNIX password file has No extension!
    So if we're not the file name, the passwordfile will not be used.
    This file name looks bad, at least the .ora bit should be removed.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • UNIX password file name

    Hello
    10 g R2 on AIX 6.1
    the password file name format is important? What is it?

    Here are the correct format:

    orapwdMYDB

    It is said in the documents:
    For more information of name and a location for Unix and Linux operating systems, see reference to the administrator for UNIX operating systems.

    But I can't find the reference of the administrator for UNIX-Based.
    Thank you.

    http://United-States.unixservers.EU/documentation/Oracle/database/10.2/server.102/b15658.PDF

  • How to create a password file?

    Dear friends,

    I tried these steps but in error.

    Please advice on how I should go about it.

    in my file pfile: REMOTE_LOGIN_PASSWORDFILE = shared
    C:\Documents and Settings\administrator>orapwd file=D:\oracle\admin\u
    at password=mydba
    
    OPW-00001: Unable to open password-file
    C:\Documents and Settings\administrator>orapwd file='D:\oracle\admin\
    uat' password=mydba
    
    OPW-00001: Unable to open password-file
    When I make a mistake?

    Thank you.

    Nith

    Published by: user645399 on December 16, 2010 16:33

    Published by: user645399 on December 16, 2010 16:37

    Published by: user645399 on December 16, 2010 16:37

    Published by: user645399 on December 16, 2010 16:37

    Simply follow the rules contained in the document available for free:

    /*
    The name of the FILE to give the password file. You must provide a full path. If you provide only a file name, the file is written to the current directory.
    */

    I guess "uat" is a directory, where is the file name?

    Werner

  • Oracle password file

    I use oracle10g.

    When I change the password for the sys (alter user sys identified by xxx), he writes in the password file? Please let me know.

    Of course, the password file is changed... :) Suggest you to test yourself... you will feel great...

    See you soon
    Renjith Malet

  • Question about the password file

    Good afternoon

    In document s/n 2 days, she says:

    >
    When you call DBCA as part of the installation procedure for Oracle, DBCA database
    create a password with a single input file: the user SYS.
    >

    I created the database using DBCA and it must have created a file password for me since I was able to connect to the database remotely.

    The question is: I can't locate the created password THAT DBCA, I don't know what his name. Can someone give me the name of THAT DBCA is using the password file?

    Thanks a lot for help.

    John.

    ORACLE_HOME/dbs/orapw * IX and ORACLE_HOME/database / PWD.ora under windows

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • GRAVE: Password file may be missing or incorrectly configured.

    Platform: windows xp 32-bit
    Refresh your Oracle 10.2.0.2 to 10.2.0.5 patch 4 (Group) (P820632)
    WHEN you use the DBUA I get the following on C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\ftdcdb\emca_2010-08-19_02-37-49-PM.log
    The dabatase works well (East and upward and running), I can connect, run sql queries, but I wanted to update EM too, but I am not able to understand this, someone has any suggestions? Basically, the problem is on the part of The Enterprise Manager.


    GRAVE: Password file may be missing or incorrectly configured.
    See the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\ftdcdb\emca_2010-08-19_02-37-49-PM.log for more details.
    August 19, 2010 14:38:14 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: password file may be missing or incorrectly configured.
    at oracle.sysman.emcp.ParamsManager.checkPwdFile(ParamsManager.java:2633)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:690)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:255)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:176)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:170)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:494)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1161)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:478)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:426)

    Re-create the password file...

  • -> ORA-01994 Oracle password file

    Hi all

    I am trying to grant SYSDBA user. I created a file password using ORAPWD in path $ORACLE_HOME/database.
    I put the parameter remote_login_passwordfile to EXCLUSIVE. I restarted the db.
    But still, he throws me error ORA-01994.
    And when I query the v$ pwfile_users he says no :(selected lines
    What can be the problem?

    (I use Ora 11.1.0.6.0 on a MS Server 2003)

    Please help me

    Kind regards
    Shiva

    What is your instance name? Your spfile is SPFILESID. ORA, but the password file is orapworcl.

    It also seems that the password file is not named correctly:

    http://download.Oracle.com/docs/CD/E14072_01/server.112/e10595/dba007.htm#BGBICCEB

    Published by: thtsang on April 15, 2010 13:39

  • How to add the listener password password file?

    Oracle 10g. I put a password for current listener. Is there such a thing that I would add a password for the listener to the password file? Please notify.

    Thank you

    S.

    ski123 wrote:
    Oracle 10g. I put a password for current listener. Is there such a thing that I would add a password for the listener to the password file? Please notify.

    Thank you

    S.

    Documentation on setting up a listening port password is clear enough and does not address file a/the password. You define the listener password by issuing the appropriate lsnrctl command. The password is encrypted and stored in the listener.ora file. That's all.

    And at least from 10 g, if your OS account is member of the dba group, the Auditor considers you authenticated OS (just like "/ as sysdba" to sqlplus) and will not require a password. The password protects against accounts that are NOT members of the dba group.

  • Creating password file error

    Hello
    I'm trying to create my password file and get the following error, no idea please.
    C:\>orapwd file='C:\app\oracle\product\11.1.0\db_1\database\pwdorcl.ora' entries
    =5
    
    Enter password for SYS:
    
    OPW-00001: Unable to open password-file
    
    C:\>
    Oracle 11.1.0 on windows xp

    Thank you

    It worked for me on Win XP 11106

    C:\Documents and Settings\Aman>orapwd file=c:\test.ora entries=3
    
    Enter password for SYS:
    
    C:\Documents and Settings\Aman>cd \
    
    C:\>dir test.ora
     Volume in drive C is VAIO
     Volume Serial Number is 54A5-8EF0
    
     Directory of C:\
    
    08/12/2009  07:40 PM             1,536 test.ora
                   1 File(s)          1,536 bytes
                   0 Dir(s)  24,673,026,048 bytes free
    
    C:\>
    

    HTH
    Aman...

  • Oracle10G password file ignored

    Hello

    I have a strange problem. My DB 10 g has been configured to authenticate users via the OS. The PB resides on a Solaris machine. I want to include more users with sysdba privilege, I was unable to add the users that the DB has no password file.
    So, I changed the parameter REMOTE_LOGIN_PASSWORDFILE = EXCLUSIVE lock and restart the Instance.
    Then I added a Passsword file named "PWD < instname > .ora" usinf Orapwd command, even if the password file was created successfully.
    I'm unable to grant SYSDBA/SYSOPER privileges users according to the system

    ORA-01994: GRANT failed: password file missing or disabled.

    Thanks in adance for assistance.

    Kind regards
    Subrahmanya

    Published by: user4566776 on July 10, 2009 12:30 AM

    In Solaris, you must create a password with "orapw.ora" file using Orapwd utility.

    http://www.akadia.com/services/ora10_sol10_install.html

    Kind regards
    S.K.

    Published by: Santosh Kumar on July 10, 2009 13:04

Maybe you are looking for