Minimum entries in password file

Hello,
I have created password file using following command ( on WXP ):
orapwd file=path entries=1 password=password
File was succesfully created, but server allows me to grant dba, sysdba, sysoper to 5 different users, until it displayd error message ORA-01996: ...password file ...is full.
How can I restrict minimum entries in password file to 1?
Thank you.
Tibor

Maybe this extract from Oracle documentation can explain :
ENTRIES
This parameter specifies the number of entries that you require the password file to accept. This number corresponds to the number of distinct users allowed to connect to the database as SYSDBA or SYSOPER. The actual number of allowable entries can be higher than the number of users, because the ORAPWD utility continues to assign password entries until an operating system block is filled. For example, if your operating system block size is 512 bytes, it holds four password entries. The number of password entries allocated is always a multiple of four.
Multiple of four has to be intended besides the first one. Entries=1 allows 5 entries, Entries=6 allows 9 entries.

Similar Messages

  • Entries in password file

    How can I check the maximum number of entries of my password file after creation ( long time after creation, 'cause I had forgot it )?
    Thank you and sorry for my mistaken English, I'm not from english-speaking country.

    Hi,
    You cannot!
    In Linux, here is absolutely no difference between a file with 4 entries and a file with 1 entry.
    However, if you are using linux, you could use the following command
    cksum $ORACLE_HOME/dbs/orapw* | awk '{printf "%s has between %d and %d entries\n", $3, ($2-1536) / 128 + 1, ($2-1536) / 128 + 4}'
    HTH
    Laurent Schneider
    OCM-DBA

  • Why does more users can login as sysdba than specified in password file

    I have multiple databases using same password file which has five entries for sysdba, but i have more than five users who have sysdba right and all of them can simultaneously login as sysdba, can any one explain why

    How do your users connect ? You may have any number of users connected locally as sysdba. Local connections are authenticated by OS, no password file is used.
    Moreover, the five entries of password file have to be intended as DISTINCT users, but you may have a much higher number of connections.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    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.

  • Error opening password file

    Hi, I'm traying to start up a database in sqlplus on SuSE 8.2 and Ora9.2, I have the next error:
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup pfile=/opt/ora9/admin/pavilion/pfile/initmydb.ora
    ORACLE instance started.
    Total System Global Area 101781824 bytes
    Fixed Size 450880 bytes
    Variable Size 83886080 bytes
    Database Buffers 16777216 bytes
    Redo Buffers 667648 bytes
    ORA-01990: error opening password file '/opt/ora9/product/9.2/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    My password file is /opt/ora9/product/9.2/dbs/orapwmydb
    How can I use my orapwmydb file?

    Hi Marco,
    as far as I know, you have to use the REMOTE_LOGIN_PASSWORDFILE = SHARED option in your init...ora file.
    In this case you have one password file for one or more databases. It can only have the entries for SYS and INTERAL.
    I'm sorry to cannot answer your question of having different password files for different databases %-)
    Klaus

  • Password file issue in Oracle 10g

    Hi,
    While trying connecting from SQL prompt using command
    SQL> CONNECT SYS/PASSWORD@CONNECT_STRING AS SYSDBA
    It gives error
    ORA-01031 insufficient privilege
    If SQL> CONNECT SYS/PASSWORD AS SYSDBA
    It works successfully??
    After connecting without using connect_string.
    Only one DB is running on this machine.
    Then SELECT * FROM V$PWFILE_USERS;
    0 ROWS RETURNED
    Recreated the pwd file same issue persists. What may be the reason?
    If SQL> GRANT SYSDBA TO SYS;
    ERROR ORA-01994: GRANT FAILED: PASSWORD FILE MISSING OR DISABLED
    Password file created using command
    orapwd file=/u01/app/oracle/product/10.2.0db_1/dbs/orapwPRIMDB password=pwd entries=5
    Please help me.
    Thanks in advance.
    Edited by: Bharat Kaushik on May 31, 2009 4:20 PM

    The first command is a 'remote connection'. To be able to connect as sysdba remotely, spfile remote_login_passwordfile should be set to exclusive.
    When there is no password file or the parameter is incorrect this results in ora-1031.
    The second command uses O/S authentication, and doesn't use the password file at all.
    O/S authentication is set up in sqlnet.ora.
    SYS has always SYSDBA, by design. Granting SYSDBA to SYS is redundant.
    Obviously in this directory name
    /u01/app/oracle/product/10.2.0db_1/dbs/
    there is a / missing and it should have been
    /u01/app/oracle/product/10.2.0/db_1/dbs/
    So you still have no valid passwordfile.
    You could have and should have easily spotted this yourself.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read the documentation.

  • Question about Password file

    Good afternoon,
    In the 2 Day DBA document it states:
    >
    When you invoke DBCA as part of the Oracle Database installation process, DBCA
    creates a password file with one entry: the SYS user.
    >
    I created the database using DBCA and, it must have created a password file for me since I am able to log in remotely to the database.
    The question is: I cannot locate the password file DBCA created, I don't know what its name is. Can someone provide me with the name DBCA uses for the password file ?
    Thank you very much for helping,
    John.

    Hello SB,
    >
    post proof
    >
    I don't know if this qualifies as "proof" but... from the 2 Day DBA document distributed by Oracle, page 6-9:
    >
    When you invoke DBCA as part of the Oracle Database installation process, DBCA
    creates a password file with one entry: the SYS user. Granting SYSDBA to a user adds
    that user to the password file automatically.
    >
    I have no reason to doubt that statement. ;)
    >
    for some/many/most Oracle versions which you decided we did not need to know yours the file resides in
    $ORACLE_HOME/dbs
    >
    I didn't decide you didn't need to know. I forgot to mention I am using Windows. As far as the Oracle version, since I used to constantly forget, I made the version part of my user name 11gR2, I can see how that can be easily overlooked.
    Thank you for your help,
    John.

  • Problem setting up user ids to use the Oracle password file.

    I want to set up my database users so that a password file is used for connecting to the database.  I have completed these steps successfully.
      BTW - DB is 11.2.0.3 on AIX power 64
    1.  Created the password file for the database using the orapwd command.  Allowing 20 entries.  Confirmed the file was created in the $ORACLE_HOME/dbs directory
    2.  Created a database user, sbrower
    CREATE USER SBROWER IDENTIFIED BY <password> DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK ;
    GRANT DBA TO SBROWER;
    ALTER USER SBROWER DEFAULT ROLE ALL;
    GRANT UNLIMITED TABLESPACE TO SBROWER;
    ALTER USER SBROWER QUOTA UNLIMITED ON USERS;
    3.  Connected to the database as SYS and granted sysoper to SBROWER
    4.  Using putty, ssh'ed into the server where the database resides.
    5.  Set the oracle variables (ORACLE_HOME, ORACLE_BASE, etc.) and PATH
    6.  Was able to connect to the database using sqlplus / as syoper
    THE PROBLEM
      For another user, EA_RDX_ORACLE1, I follow the same steps (2-6) bu when I execute step 6, it does not allow the connection
    ERROR:
    ORA-01031: insufficient privileges
       but, if I use sqlplus ea_rdx_oracle1/thepassword as sysoper it works
    Looking at v$pwfile_users on the database:
    USERNAME SYSDBA   SYSOPER      SYSASM
    SYS      TRUE      TRUE      FALSE
    SBROWER  FALSE     TRUE      FALSE
    EA_RDX_ORACLE1 FALSE TRUE FALSE
    3 rows selected.
    There is one thing that is different for the ea_rdx_oracle1 id's:
    - The users who use this id, use a took called CyberVault to check out the id.  The password for the id changes each time the id is checked out; however, the way the id is set up on the DB servers, us user does not have to enter the password when they log in (ssh).
    I have sent an email to our unix admin asking his how the id was set up so that it can ssh into the server.  It is not included in the list of users in any group in the /etc/ogroup file and it is not included in the /etc/opassword file.

    The OS authentication ( sqlplus / as sysdba ) does not require the password file.
    The problem may be related to the OS user you are connecting to that server - it is not a member of OSDBA group ( usually DBA ).

  • Password file creation error

    Hi
    I am trying to create my password file and getting the following error, any 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
    Thanks

    orapwd -help
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n> nosysdba=<y/n>
      where
        file - name of password file (mand),
        password - password for SYS (mand),
        entries - maximum number of distinct DBA,
        force - whether to overwrite existing file (opt),
        nosysdba - whether to shut out the SYSDBA logon (opt for Database Vault only).
      There are no spaces around the equal-to (=) character.Does the OS user have necessary permissions to open file?

  • Problems with the Password File Authentication

    Hi,
    I try to implement the Password File Authentication in my PC (Window XP). I did :
    a) orapwd file:=C:\oracle\ora92\dbs\orapw.pwd password=sys2003 entries=5
    b) I set the REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE
    c) I created a user "willer" (With SYSTEM login)
    d) I tried to give the sysdba privilege to the user willer :
    SQL> grant sysdba to willer;
    grant sysdba to willer
    ERROR at line 1:
    ORA-01031: insufficient privileges
    e) I tried to connect like a sysdba with the user SYS end password sys2003 but :
    SQL> connect sys as sysdba;
    Enter password: *******
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Warning: You are no longer connected to ORACLE.
    SQL>
    How can I do to login with the SYS login to give the sysdba privilege to my user willer ? And why I can't log into my database with the SYS login ?
    Thank you for your response because I am very lost....
    Eric Willer

    Hi,
    Thank you for your response...
    I deleted all my databases in my PC and reconstructed just one (certific), after that I followed your instruction and now I can connect into the database with the sys as sysdba login. But I just have one stangeness : I created a user willer and gave to him the sysdba privilege, when i log into the database with this user I can log on like a sysdba with wich ever user I want, even if the user doesn't exist.
    Exemple :
    Personal Oracle9i Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Welcome to SQL*Plus!
    You are connected to CERTIFIC.ORACLE.DATABASE as WILLER
    SQL> connect nicole as sysdba;
    Enter password:
    Connected.
    SQL>
    I don't need to improve a password and I have never created the user nicole.
    I don't understand.... What's wrong ?
    I try with another user, I just created a serge user with just the create session privilege. I can log on with this user like a sysdba :
    Welcome to SQL*Plus!
    You are connected to CERTIFIC.ORACLE.DATABASE as SERGE
    SQL> connect serge as sysdba
    Enter password:
    Connected.
    SQL>
    Thank you for your response...
    Eric Willer

  • Password file may be missing or configured incorrectly.

    Hi All
    Platform:Windows Server 2003
    DB: 10.2.0.5.0/Single instance
    While creating the em repository I get the following:
    2010-aug-23 14:18:05 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\DWDEV\emca_2010-08-23_02-17-46-PM.log.
    2010-aug-23 14:18:06 oracle.sysman.emcp.EMConfig perform
    ALLVARLIG: Password file may be missing or configured incorrectly.
    Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\DWDEV\emca_2010-08-23_02-17-46-PM.log for more details.
    Could not complete the configuration. Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\DWDEV\emca_2010-08-23_02-17-46
    -PM.log for more details.
    Its clear what the problem is, I have tried to recreate the password file but I still get the same error.
    my steps
    1. shutdown the instance
    2. orapwd file=orapwDWDEV password=mypassword entries=10
    3. startup
    One thing I wonder is the name of the passwordfile, I saw in one post that the name should be orapw<sid>, I noticed that he old name
    was PWD<SID>. What controls the name (apart from the sid) ?
    Any ideas how to handle this is appreciated.
    Thanks
    Magnus

    It seems that I have misspelled the name.
    It works now.
    Stiil interested what makes the filename, the pwfile is named PWD<SID>.ora.
    Can I name it what I like ?
    /Magnus

  • Password file auth - error ORA-01990: error opening password file '/p00/ora

    Hi, Im setting up password file auth on our existing database.
    Ive run this
    orapwd file=orapwdt04.pwd password=secret entries=5
    then set this in the .ora file
    remote_login_passwordfile=exclusive
    But when I restart the dabase im getting this error
    ORA-01990: error opening password file '/p00/oraprod/9.2.0/dbs/orapw'
    How / where do I tell the database to look for the password file.
    Im running on AIX and Oracle 9.2.0.6
    thanks for looking.

    password filename must be in the format of orapw<sid> and location of the file $ORACLE_HOME/dbs

  • Create a new password file

    Please, how do I Create a new password file.
    i am trying to change dbid of my database, Do I need to delete the old password file, and create a new one by using the orapwd utility, or does orapwd utility overwrite the old one, thanks.

    You do not have to delete the old password file. No, you have to:
    test$ ls orapw*
    orapwGX
    test$ pwd
    /opt/oracle/Ora10gR2/dbs
    test$ orapwd file=/opt/oracle/Ora10gR2/dbs/orapwGX entries=5 password=none
    OPW-00005: File with same name exists - please delete or renameYoann.

  • 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.

  • Password file creation ?

    We can create a password file in windows using orapwd
    how to create a password file in unix. Is it the same way?

    Hey
    Yes.
    $ 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.

Maybe you are looking for

  • How to set authorization for BW Workspace in backend and Portal ?

    Hello Expert,                      I have developed one BW Workspace in development environment . I have some query regarding BW workspace authorization for access in portal . Some of the queries are as  follows: 1) How many composite provider we can

  • Problem in displaying data in sapscript

    Hi, I am working on the sapscript for the tcode QC21 and the form name is 'YQM_QCERT_02'. here the data is represented in the column wise and i want to disply the data row wise. Plzz provide me guidlines how to display the row wise data in the SAPSCR

  • SMS_SITE_VSS_WRITER issue

    Hello Everyone. Last month I had to restore the my Primary standalone SCCM server on a new VM as part of a datacenter migration. I've used the same FQDN and it went quite easy. Configuration: SCCM 2012 R2 CU3 running on Windows 2008 R2 and SQL Server

  • Wireless client unpredicatably roaming to other AP's

    Hi all, I just recently started working in a new environment and they asked me to look at some weird wireless issues that are occuring. It is a campus environment, but all wireless issues seem to be occurring in the newest building, which just opened

  • MBP - late 2007 - external monitor stopped working

    I have a late 2007 MBP pro, 17" monitor.  I have been using a 30" dell monitor (3007WFP) as an external monitor for home use.  It has been working fine for 4 years.  Last night the monitor stopped waking up from sleep and now only gives a blank scree