Two password for "sys" user.

Dear All,
I have only single database named TEST on IBM AIX / oracle 9i system. I m very much surprise that i m able to connect to that db using sys user with two password. ie. sys/sys ans sys/test.
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Sep 15 09:11:55 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: sys/test as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 186089336 bytes
Fixed Size 741240 bytes
Variable Size 150994944 bytes
Database Buffers 33554432 bytes
Redo Buffers 798720 bytes
Database mounted.
Database opened.
SQL> select name from v$database;
NAME
TEST
SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> conn sys/sys as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 186089336 bytes
Fixed Size 741240 bytes
Variable Size 150994944 bytes
Database Buffers 33554432 bytes
Redo Buffers 798720 bytes
Database mounted.
Database opened.
SQL> select name from v$database;
NAME
TEST
i found two files in /oracle/9201/db_1/dbs folder namely 'oraTEST' and 'oraPWDTEST'. I removed 'oraTEST' file from the location then also i m able to connect with two passwd. can u plz explain the logic behind this???
SQL> conn sys/test as sysdba
Connected.
SQL> select name from v$database;
NAME
TEST
SQL> conn sys/sys as sysdba
Connected.
SQL> conn sys/test as sysdba
Connected.
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP
SYS TRUE TRUE
-------------------------------------------------------------------------------------------------------------------------------------------------

The point about OS authentication for the SYS user is that the SYS user often needs to be authenticated when the database is not up and the the data dictionary cannot be interrogated. For this reason, you can't use the standard Oracle user/password setup as per "normal" users.
So the three options here are
- OS authentication
- Password file
- External authentation e.g. LDAP, etc.
To use a password file, you'll have to disable os authentication otherwise it will overrule the password file.
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dba006.htm#ADMIN11056
http://download.oracle.com/docs/cd/B28359_01/network.111/b28531/authentication.htm#DBSEG33331

Similar Messages

  • Password for sys user

    Hi all,
    i am using oracle8i. i have changed the password for my sys user as oracle123. but i can login by entring any password even i entered user name sys password sys as sysdba it logins to the database. its accepting any password i entered . y like that ??
    regards
    Rehman

    Not exactly...
    To connect AS SYSDBA, there is two ways :
    - password file
    - OS authentication (i.e. member of the DBA group)
    As long as you enable OS auth. (in sqlnet.ora), you could logon with any password (or even no password)
    With password file (remote_login_passwordfile<>NONE in init.ora), you'll be able to connect as sysdba even on client, event not a member of DBA group

  • ORA-01017: invalid username/password; logon denied FOR SYS USER

    Hello,
    I was usually login through the same password for sys user to log on to the database as sysdba, but last time i used " / as sysdba" to connect using local system administrative account which is connected very well and still connecting in the same way. The initializing parameter file set with the following parameter:
    remote_login_passwordfile=EXCLUSIVE
    Now if i use to connect the database server remotely using sys user, it gives me "ORA-01017: invalid username/password; logon denied" error and if i use the same login credentials on DB server machine using other local user accounts it is giving me "Insufficient Privilige" error. I can only connect now using local administrator account from DB server machine using " / as sysdba" statement.
    Kindly guide me the issue.

    When you use " / as sysdba" locally on server, you are using OS authentication which will bypass the password file and user/pass authentication.
    Looks like you have discrepancy between the password you use and real password. You can login " / as sysdba" and change your SYS password to a new one.
    When was last time you successfully login using password? What has changed since then?

  • Password for Oracle user , sys , system , saprpd

    Hi All ,
    I just join a new company as sys admin . I tried to search password for Oracle user sys , system and saprd in my company password file . Those users password are not stored.
    Am I supposed to know those oracle user password ? If yes , Can I find them in my Unix system or sap application ?
    Please help !
    Felix

    It is not possible to determine the passwords if you don't know them. But perhaps note 562863 and the described default passwords are useful. Furthermore you can always change passwords if you have SYSDBA privilege using "alter user ... identified by ..." or "brconnect -f chpass".
    Regards
    Martin

  • How to change password for a user in WLS 7.0 embedded ldap in code?

    I asked the similar question before but don't have an answer yet.
    I need to change password for a user in my Java code. Any help will be
    appreciated.
    Here is my stack trace:
    c:\Test>java -classpath . testEmbeddedLdap
    attribute: uid
    attribute: description
    attribute: objectclass
    attribute: wlsMemberOf
    attribute: sn
    attribute: cn
    javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient
    Access Rights]; remaining name
    'uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2872)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2810)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616)
    at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1374)
    at
    com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDir
    Context.java:255)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Partial
    CompositeDirContext.java:172)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Partial
    CompositeDirContext.java:161)
    at
    javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.
    java:146)
    at testEmbeddedLdap.main(testEmbeddedLdap.java:30)
    Here is my testing code:
    <PRE>
    import java.util.*;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class testEmbeddedLdap {
    public static void main(String[] argv) {
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://localhost:7001");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "uid=myAdministrator, ou=people,
    ou=myrealm, dc=mydomain");
    env.put(Context.SECURITY_CREDENTIALS, "myAdministrator");
    try {
    DirContext ctx = new InitialDirContext(env);
    String
    sUser="uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain";
    String sOldPassword="myRegularUser";
    String sNewPassword="newpassword";
    for (NamingEnumeration ae = ctx.getAttributes(sUser).getAll();
    ae.hasMore(); ) {
    Attribute attr = (Attribute)ae.next();
    System.out.println("attribute: " + attr.getID());
    ModificationItem[] mods = new ModificationItem[2];
    Attribute mod0 = new BasicAttribute("userpassword",
    sOldPassword);
    mods[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE,
    mod0);
    Attribute mod1 = new BasicAttribute("userpassword",
    sNewPassword);
    mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE, mod1);
    ctx.modifyAttributes(sUser, mods);
    ctx.close();
    } catch (NamingException e) {
    e.printStackTrace();
    </PRE>
    "Neil Smithline" <[email protected]> wrote in message
    news:[email protected]...
    Two things. First, I'm not exactly sure what password you are trying to
    change. The LDAP server's password or a user's password in the LDAP
    server. Second, could you please post a stack trace.
    Thanks - Neil
    K Wong wrote:
    I am using (javax.naming.directory.DirContext.modifyAttributes) to
    change
    password to our development Weblogic 7.0 embedded LDAP.
    I login as the system administrator (a user in the administratorsgroup),
    but always gets the javax.naming.NoPermissionException - InsufficientAccess
    Rights.
    What user should I use? Any help will be appreciated.

    Hai,
    This condition based execution requires - javascript coding.
    In miscelleaneous tools bar, you have an option of SCRIPT_ITEM writer tool, drag the tool into your WAD layout, and select the properties , choose the editor option and paste your coding. that's it.
    Alternate option :
    in your web application design layout , you will fine XHTML coding editor , there you need to write coding and execute the same.
    Hope this will help to you.
    Assign Points if its really useful.
    Cheers !!!
    Bye
    Regards,
    Giri

  • What is the password for 'oracle' user created during XE installation?

    Hi,
    What is the password for 'oracle' user automatically created when XE is installed?
    I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
    During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
    Please let me know or point me to the document.
    Thanks,
    N

    Hi Jari,
    I tried your suggestion, but it didn't work unfortunately.
    When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
    So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
    It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
    Thanks,
    N

  • What is the default password for SYS?

    I'm trying to connect to an Oracle 11gR2 database on Linux using sqlplus.
    The sys user password version is 10G and sys is one of the usersname returned by the view dba_users_with_defpwd.
    Issuing sqlplus sys will get the prompt Enter Password: but I have no idea what password I should enter.
    I kind of remember that the installation has a screen to enter password for SYS but I'm not sure what has been done on that screen since I didn't do the installation.
    Thanks for any help.

    if you want to reset the password of sys. you can recreate the password file with below cmd.
    $ orapwd
    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.
    --kuljeet Singh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I have one home computer and our household has 2 iphones. I am signed up on itunes and now my husband would like to have an account with itunes as well. Can there be two accounts for 2 users for itunes on one home computer? How do I add another account ?

    I have one home computer and our household has 2 iphones. I am signed up on itunes and now my husband would like to have an account with itunes as well. Can there be two accounts for 2 users for itunes on one home computer? How do I add another account ?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • Firefox is not prompting to save password for specific user on specific site. How can I correct this?

    I am using saved passwords feature. The site in question is a common webmail site. I have more than one account for this site. Usernames and passwords for each account were stored in Firefox 'Remember Passwords' feature. I unintentionally deleted one entry from the dropdown list that is displayed when I go to the site's login page. Now, when I log in to this account, Firefox will not prompt to save the password. If I display my saved passwords list, there are entries for the other accounts on this site, but none for the user account in question. The Saved Passwords 'Exceptions' list is empty. How can I get Firefox to re-prompt to save the password for this user on this site? (Note: When I speak of 'user', I am not referring to user account on the PC or a specific Firefox user profile.)

    I am using Avast free version. Today I removed the LAN cable out of the 24 port switching hub and plugged directly into the router port. Now the program runs fast when checking for emails. Looks like all the emails are showing up. I do have other computers plugged into the switching hub with no problems. The hub is brand new. My thinking is the cable connector might be to blame. I will try re-crimping the wires. As for now, things are running good. I will keep investigating. Thanks

  • How can I change the password for the USER in SAP.

    How can I change the password for the USER in SAP?
    also I want to change the Language and  date Format b/c it's displaying in German language..

    Hi,
    Assuming that User has already his/her user-id and password, and now he/ she wants to change it.
    select the client and provide Log-in credentials. Now, instead of 'ENTER' there is one Tab: 'New Password' (up, left hand). Click it.
    Now, system will ask for new password to change.
    If you are asking from Basis point of view, then T.code: SU01 - User Maintenance.
    Enter User's id and Click Change icon.
    It will lead to Page: Maintain User.
    Here, Select tab: Logon Data
    There is a Sub-Tab: Password.
    Here, key-in change password and SAVE.
    For Language and Date format, contact your Basis-Personnel.
    Best regards,
    Amit

  • Set default password for all users including csv file

    I would like to set the default password for all users
    including the ones imported in the csv file?
    Also now the default passwrd in set to the email address. How
    do i change that setting to the "login" setting in the csv file so
    those users can loin with that password?
    Kinda the same question but do yuo get the idea?
    Thank you,
    Chip

    You could download and install RCDefaultApp 2.1 for all users: check the Read Me and then test it on something to see if it accomplishes what you want.
    http://www.rubicode.com/Software/RCDefaultApp/

  • Is it possible to reset password for any user using abap program

    Hi friends,
    Is it possible to reset password for any user using abap program by specifying client number and user id. in selection screen.
    if any code for that to reset password please mail me.
    Thanks & Regards,
    Yogesh

    Hello Yogesh,
    Yes you can reset the password for any body using ABAP Code. But for that you really don't need any client number.
    If this process is on regular basis, then recommended is to use BAPI for changing the user details Otherwise BDC also works fine.
    => Function Module - BAPI_USER_CHANGE
    Call this in the program for resetting the password.
    => CALL TRANSACTION 'SU01' USING InternalTable
    This will be executed in the BDC of SU01 transaction recording. Use the Password Change button in the application toolbar of transaction while recording.
    Hope this helps.
    PS If the answer solves your query, plz close the thread by marking it solved and rewarding each reply.
    Regards

  • How to set Password for Xellerate user in OIM

    I am using recon API's and creating Xellerate user, unfortunately the recon is not accepting USR_PASSWORD which is the field name defined in OIM
    Can somebody please let me know how to set this password for Xellerate user??
    Thank you in advance for your response. (this is go-live issue you know what that means :-)

    Hi,
    If you are doing reconciliation and trying to reconcile the password as well. Then you must map the Resource Object attribute for the password field to the 'Identity' field of OIM. You can find this field in the 'Reconciliation Field Mappings' section for Xellerate User. Just map the field which you want to be set as OIM user password in the section and you are done.

  • How to expire password for all users

    I need to be able to expire the password for all users. This is to prevent access by any user until each one is released individually (administrator will set a new password and notify user).
    Please could someone give me any tips on how to expire all users passwords.
    Thanks

    Login to the Internet Directory
    Select the user and modify its expiry date
    hope this helps u

  • GRC 10: Initial password for multiple users creation in a ARQ request???

    Hi All,
    I was trying to create a request in ARQ for multiple users. I noticed that, I could add all the necessary required information for multiple users using the template. I added the roles as well. However, I could not set the initial password for multiple users as the tab "User System Details" (where the initial password is provided for a single user) is disabled!!!
    The users were successfully created in the R/3 system. However, due to non-availability of initial password, these users could not log into the R/3 system.
    May I know how to set the initial password for multiple users?
    Regards,
    faisal

    Vit,
    I was trying to test this multiple user creation scenario. But I am surprise to get a template where in I have only below mentioned fields:
    1. User Name
    2. User Id
    3. Email
    I filled these details and uploaded. Then filled the "User Access" details. While submitting the request, I got the error:
    "Last name is not mentioned for user id XXX"
    But there is not such column in provided template by GRC!
    I added 2 columns: First Name and Last Name and saved it and uploaded again. These details are not picked up!
    Following are the only columns shown:
    1. User Name
    2. User Id
    3. Email
    4. Manager
    Out of above, only "Manager" field is editable and others are disabled.
    Last time I remember, I has got complete template with all the columns. Unfortunately, I have deleted it and not available with me now.
    Any idea you have why am I getting such incomplete template?
    Regards,
    faisal

Maybe you are looking for

  • Can't Move Around in my Recordset

    Hi, From a beginner, the issue is that Recordset.MoveNext and .MovePrevious aren't working, though .MoveFirst and MoveLast are.  If I exchange MoveLast for MoveNext and MovePrevious to MoveNext, the output will be 8 repetitions of the last record as

  • Help on ALV Gird

    Hi, I want to display two <b>ALV GRID Display</b> in single screen. I have two internal tables. I need to display the lists in same screen can anyone help me. --Ragu

  • Best practice for building OLAP cubes??

    Hi All, I have to build about 10 cubes as minimum for 50 GB database that share some dimensions, these cubes for 6 business areas. I want to know whether to build all cubes on one analytical workspace or what?? Regards, Gado

  • A glossary in Flash

    Hello, I am trying to make a glossary in flash. The page will look as follows: on top I have the alphabet on the left I have a scrolling dynamic textfield with hundreds of technical words in alphabetical order. on the right a panel for the explanatio

  • Is there a Euro symbol?

    Hello fellow Macintosh user?  I use System 10.8.4, which is the latest.  I enjoy owning an iMac.  :-) But I came-across a possible oversight by Apple?  I haven't found the Euro symbol.  [The Euro symbol is a bold, arabic c with two parallel, horizont