Password of Sys in Oralce 9i

Hello!
I am evaluating Oracle9i Database Release 1. After installation i have change password of sys. Now i logon with sys user as sysdba. It logon me. but when i use wrong password it also logon me. What is a problem. can any body help me.
Regards
Nasir Ali Mughal

Hi
It looks like you are accessing the database from the same machine on which the database is installed.
This behaviour is normal since OS authentication is used to authenticate the sys user without requiring password.
If you are already authenticated by the OS and you are accessing the database from the same m/c on which server is
installed , you need not provide any password.
You can also connect like this
sqlplus "/as sysdba"
HTH
Chandar

Similar Messages

  • How to change password of sys user connected as sysdba?

    How to change password of sys user connected as sysdba?
    I have connected with user name sys as sysdba in oracle 9i with password oracle.
    I want to change the password . I typed password and pressed entered. It asks me to type old password, then new password and retype the new password. When I press enter it gives error message "ERROR:
    ORA-28008: invalid old password"
    Password unchanged.
    does anyone know about this...? how to change the password..?

    You may be using operating system authentication to log in as sys with sysdba privileges.
    By using password utility, you can change the password of sys user (which is in database) which is "change_on_install" when you create a database.
    You can change this password.

  • 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

  • PASSWORD FOR SYS

    HI,
    I GOT TRANSITION TO ONE DATABASE FROM DEVELOPERS BUT THEY DIDNT HAVE THE SYS USERNAME. ITS A WINDOW MACHINE. I TRIED TO LOG IN AS / AS SYSDBA BUT IT SAYS INSUFFIENT PRIVILEGE. SOMEONE HAS RESTARTED THE MACHINE,
    CAN ANYONE HELP TO GET THE PASSWORD OR TO CRACK TEH PASSWORD FOR SYS
    THANKS IN ADVANCE
    PRASADC

    Hi,
    In Windows, the password file should be in %ORACLE_HOME%\database folder.
    and the format of password file should be PWD%ORACLE_SID%.ora.
    If the above violates you will get the error message "unable to open password file".
    But connecting "/ as sysdba" doesn't require a password file.
    Your problem is you don't have the ORA_DBA group or you didn't set the ORACLE_SID environment variable.
    Check if you have the ORA_DBA group and the ORACLE_SID registry key/environment variable.

  • Forgot Passwords of Sys or System (Retrieve How??)

    i have forgot the password of sys or system and been logging on as scott/tiger on my oracle9i DB, since most of the priveliges not granted to scott user, i wanna log on as sys to grant resources/priveleges.
    my question!! how to retireve it, is it stored some where on machine??
    The Oracle9i DB is installed on my machine.
    please help.. i already tried to log as with passwords sysman, sysdba etc. to log in as sys... no luck

    Surely it is required to know the o/s on which you are working.
    The password of Sys user is stored in an external password file. It is created with a utility ,"orapwd". The location of the file , on *ix will be $ORACLE_HOME/dbs and on Windows,$ORACLE_HOME/database. In addition to the suggested methods, you can also do this, remove that file from the folder mentioned. The name will be like PWDSID.ora.Than recreate teh password file with a new password for the sys user by the command,
    orapwd file=location/fileanme password=new_passwordBy this way,you will be able to change the password of sys. But I would suggest try out with the suggestion given by Mark first,its more lesser error prone and easy.
    Aman....

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • EMCA: invalid username/password for sys

    Hi All,
    Recently i have restored a database from another host A to Host B.
    Now when i am trying to reconfiure the Dbconsole using " emca -deconfig dbcontrol db -repos drop ", for sys account its throwing 'Invalid username or password'.
    Password file configured correctly and confirmed by checking the time stamp after altering the password. Change is updating the password file.
    Thanks in Advance,
    Regards,
    Jishar

    user585870 wrote:
    Hi,
    Already tried recreating the password file.
    like removed the file manually and with Orapwd created the password file.
    Password file format : PWD%SID%.oraThat is depend your OS version if this is windows than yes else if unix/linux must be orapw<SID>

  • View and change passwords for sys, system, sapr3

    Dear All
    1.I need to view the password the for account :
    sys, system, sapr3
    2. I need to know for how long passwords have not been changed?
    . and how can i change these passwords?
    Any sugestions??
    Regards
    Rajesh
    Edited by: rajesh sharma on Oct 15, 2008 1:51 PM

    Hi Rajesh,
    1.I need to view the password the for account :
    sys, system, sapr3
    Its not possible to view the password, password is always encrypted format stored, if the default has not been changed for SYS, SYSTEM then their password are CHANGE_ON_INSTALL and MANAGER respectively.
    2. I need to know for how long passwords have not been changed?
    . and how can i change these passwords?
    For knowing what date they were changed last,
    - connect /as sysdba;
    - SQL> select name,  ptime from user$;
    ptime will give you the last password change date.
    you can view at what date the password will be expired by
    - select username, account_status, expiry_date from dba_users;
    change the password by brtools menu options or directly by chpass.
    http://help.sap.com/saphelp_nw70/helpdata/EN/4f/c3883989676778e10000000a11402f/frameset.htm
    Note -
    Always recommended to use brtools for changing password rather than using the sql commands.
    Regards,
    Debasis.
    Edited by: Debasis Sahoo on Oct 16, 2008 1:09 AM

  • 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;  for  Oralce 12c OEM  installation

    Hi Experts,
    Following error Oralce 12c OEM installation ,i have no clue sys user passowrd is correct in response/new_install.rsp file
    [oracle@sdp12 OEM_Packages]$ ./runInstaller -silent -responseFile /oracle/oracle8/OEM_Packages/response/new_install.rsp
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 400 MB. Actual 1222 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 4000 MB Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-24_06-22-19PM. Please wait ...[oracle8@sdp38 OEM_Packages]$
    ERROR: ERROR:Exception occurred while connecting to database. Check the connection details of the database you specified and retry.
    ORA-01017: invalid username/password; logon denied
    Unable to connect to the database and validate whether it is a supported database due to one of the following reasons:
    (1) Incorrect credentials
    (2) Listener may be down
    (3) Database may be down
    Check the credentials ,the status of the listener and the database and retry.
    i am able to connect using same username password
    [oracle8@sdp38 response]$ sqlplus sys/sys512@TET1
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 24 18:29:15 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    From response/new_install.rsp file
    DATABASE_HOSTNAME=sdp12
    LISTENER_PORT=1521
    SERVICENAME_OR_SID=TET1
    SYS_PASSWORD=sys512
    SYSMAN_PASSWORD=sysman512
    SYSMAN_CONFIRM_PASSWORD=sysman512
    i have no clue here, any help greatly appropriated
    thanks

    few things you can check :
    a) Is there a password file ? Is the password correct in it ?
    b) SYSDBA remote login is disabled. remote_login_passwordfile is not set to EXCLUSIVE in the spfile or init.ora.
    Set: remote_login_passwordfile= EXCLUSIVE
    Create a password file:
    Unix: $
    orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=sys entries=5
    Windows:
    C:\> orapwd file=%ORACLE_HOME%\database\pwd%ORACLE_SID% password= sys entries=5
    To synchronize the password for sys for normal connections and connections as sysdba connect as a sysdba user and reset the sys password:
    $ sqlplus "/ as sysdba" SQL> ALTER USER SYS IDENTIFIED BY change_on_install;

  • SYSTEM and SYS password 11g on Windows Vista

    Hello
    I am having trouble. I do not know my SYSTEM and SYS passwords. I am using oracle 11g on windows vista. I tried to change the passwords but that did not work. I tried this:
    c:/>sqlplus "/ as sysdba"
    c:/>show user
    c:/>passw system
    then I changed the password. When I tried to log in the password change did not take effect. Any help would be great!

    Hi,
    There is no default password for sys and system in 11g.
    you cna use the below command to change the system or sys password
    alter user SYSTEM identified by PASWORD
    same for sys
    nOTE: password are case sensitive.Regards,
    Taj

  • Sys password issue in oracle 9i

    Oracle9i Enterprise Edition Release 9.2.0.6.0
    I want to change the password of sys user with following command.
    alter user sys identified by sys1
    It is not resetting the old passwod which is sys. Now I can login the sys user with both passwords "sys" and "sys1". I want to know how I reset the old password sys.?
    Kindly update soon
    Regards,

    user11972992 wrote:
    Oracle9i Enterprise Edition Release 9.2.0.6.0
    I want to change the password of sys user with following command.
    alter user sys identified by sys1
    It is not resetting the old passwod which is sys. Now I can login the sys user with both passwords "sys" and "sys1". I want to know how I reset the old password sys.?
    Kindly update soon
    I am not sure that you are actually aware about what's happening. Is it like this,
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining
    and Real Application Testing options
    SQL> conn aman/sharma as sysdba
    Connected.
    SQL> conn bill/gates as sysdba
    Connected.
    SQL> conn you/yourself as sysdba
    Connected.
    SQL> conn sys/nopassword as sysdba
    Connected.
    SQL>If this is happening, most probably, you are using the o/s authentication and you may want tostop it from happening if you want to use the password of the password file. To regenerate the password, Oracle supplies a util called orapwd which you can use.
    [oracle@edhdr1p0-orcl ~]$ orapwd
    Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n> ignorecase=<y/n> nosysdba=<y/n>
      where
        file - name of password file (required),
        password - password for SYS (optional),
        entries - maximum number of distinct DBA (required),
        force - whether to overwrite existing file (optional),
        ignorecase - passwords are case-insensitive (optional),
        nosysdba - whether to shut out the SYSDBA logon (optional Database Vault only).
      There must be no spaces around the equal-to (=) character.
    [oracle@edhdr1p0-orcl ~]$HTH
    Aman....

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

  • Sys password problem "INSUFFICIENT PRIVELEGES"

    hi,
    This is with refernece to my earlier post, i can now login as a DBA thry OS authentication.
    Re: sys password problem
    but now i try to vreate a new password file and it successfully created using orapwd....
    but when i try to login as a sys user thru oracle authentication i couldn't because i am getting an error
    "INSUFFICIENT PRIVELEGES"
    and another thing i would like to know do i have to shutdown the database or not for the same.

    Please review the document link sent earlier
    Setting REMOTE_LOGIN_ PASSWORDFILE
    In addition to creating the password file, you must also set the initialization parameter REMOTE_LOGIN_PASSWORDFILE to the appropriate value. The values recognized are:
    NONE: Setting this parameter to NONE causes Oracle Database to behave as if the password file does not exist. That is, no privileged connections are allowed over nonsecure connections.
    EXCLUSIVE: (The default) An EXCLUSIVE password file can be used with only one instance of one database. Only an EXCLUSIVE file can be modified. Using an EXCLUSIVE password file enables you to add, modify, and delete users. It also enables you to change the SYS password with the ALTER USER command.
    SHARED: A SHARED password file can be used by multiple databases running on the same server, or multiple instances of a Real Application Clusters (RAC) database. A SHARED password file cannot be modified. This means that you cannot add users to a SHARED password file. Any attempt to do so or to change the password of SYS or other users with the SYSDBA or SYSOPER privileges generates an error. All users needing SYSDBA or SYSOPER system privileges must be added to the password file when REMOTE_LOGIN_PASSWORDFILE is set to EXCLUSIVE. After all users are added, you can change REMOTE_LOGIN_PASSWORDFILE to SHARED, and then share the file.
    This option is useful if you are administering multiple databases or a RAC database.
    If REMOTE_LOGIN_PASSWORDFILE is set to EXCLUSIVE or SHARED and the password file is missing, this is equivalent to setting REMOTE_LOGIN_PASSWORDFILE to NONE.

  • RMAN Backup job fails after changing sys, system passwords

    Hello Oracle community,
    11.1g
    After we changed the passwords for sys, system and sysman the backup jobs fails. this is my error log:
    Recovery Manager: Release 11.1.0.7.0 - Production on Mo Aug 30 11:16:29 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-12532: TNS: Ungültiges Argument
    RMAN>
    Echo einstellen ein
    RMAN> set command id to 'BACKUP_MEGALON.INT_083010111617';
    Befehl wird ausgeführt: SET COMMAND ID
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Fehler bei set Befehl auf 08/30/2010 11:16:29
    RMAN-06171: Nicht bei Zieldatenbank angemeldet
    RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' database;
    Starten backup um 30.08.10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
    RMAN-06171: Nicht bei Zieldatenbank angemeldet
    RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' archivelog all not backed up;
    Starten backup um 30.08.10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
    RMAN-06171: Nicht bei Zieldatenbank angemeldet
    RMAN> exit;
    Recovery Manager abgeschlossen.
    Ikrischer

    Hello Tychos,
    I am able to make a sqlplus connection, but your hint send me in the correct direction. I had a special character "@" in the password and I think that was the reason for my problems with RMAN.
    Ikrischer

Maybe you are looking for