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

Similar Messages

  • Sys password issue

    We have oracle 10.2.0.1 running on Unix
    WE didnt set the password of SYS user in oracle but now we would like to set
    I use the command alter user sys identified by password
    i got message user altered
    Now i tried connection to sys/password@abc as sysdba
    but no luck
    So i created password file by
    orapwd file=orapwdhmo password=password entries=2 force=y
    file created but again unable to login
    and at OS level
    if I set
    ORACLE_SID=INSTANCE_NAME
    export ORACLE_SID
    sqlplus / as sysdba
    connected
    I am able to
    Please let me know how to set password for sys

    Is this attempt where the db resides, or from a remote client:
    sqlplus "sys/password@abc as sysdba"
    On the other hand,
    ORA-01031: Message 1031 not found; No message file for product=RDBMS,
    facility=ORA
    unavoidably means you cannot open error message catalog. Reasons are either:
    - Incorrect ORACLE_HOME setting
    - Incorrect PATH setting
    - files have been removed
    And this error message issue must first be solved before you pretend to change sys password.
    Changing sys password is as follows:
    1. Create a password file
    2. Make sure your remote_login_password_file says exclusive
    3. rebounce your instance
    4. change sys password
    5. verify your username is listed at the V$PWFILE_USERS dynamic view
    7. change user password.
    I suggest you to double check.
    ~ Madrid.

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

  • Oracle Systems & SYS Password Setting. Works with SAP ?

    Hello all,
    We are looking at the possibility of forcing the change of the system and sys passwords in Oracle 10 which is where our SAP 4.6 is running on.
    We have located some oracle parameters (please see below) that can do such things as limit the minimal size and grace period of the sys and system account.
    Has anybody else had any experience in setting restriction on these Oracle accounts with SAP ?
    Thanks,
    pw_limit = PASSWORD_LIFE_TIME
                 PASSWORD_GRACE_TIME
                 PASSWORD_REUSE_TIME
                 PASSWORD_REUSE_MAX
                 FAILED_LOGIN_ATTEMPTS
                 PASSWORD_LOCK_TIME

    Thanks all, thats a great help :o)
    Rgds,
    Andrew....

  • Changing 'SYS' password in 'Shared' mode ?

    Oracle 9.2/AIx5.3
    I have two Db DB1/DB2, both of these Db's are in 'Shared' remote login password mode. Now, I was under the impression that whilst in this mode, it was not possible to simply issue a command
    alter user SYS Identified by <NEW PASSWORD>;
    to change the password, if you did, it would result in an error message. Today I have tried, and it allowed me to change the 'SYS' password ? How is this the case. I’ve tried it on a 10g Db that’s also running in 'Shared' mode and got the following error message.
    ERROR at line 1:
    ORA-28046: Password change for SYS disallowed

    Metalink 452959.1 states you cannot change or add users to the passwordfile when remote_login_passwordfile='SHARED' and you need to set this to 'EXCLUSIVE'. I had to look this up and I found it simply by searching for the error number.
    Assuming you are not running 10.2.0.1 you could have easily looked up yourself.
    Also as Oracle is always changing, differences between 9.2 and 10gR1 or R2 are best verified by looking in the release notes for that version, providing the quickest answer easily.
    Sybrand Bakker
    Senior Oracle DBA

  • New drive has password issues

    Hi world,
    I had to change my intel iMac hard drive.
    Luckily I had a back up, however on trying to open after copying the back up it appears the passwords don't work.
    It also won't accept a new password even with the master password entered (which it appears to accept and then prompts for a new password) 
    Any ideas?
    Thanks. SP

    hollyox1 wrote:
    ok call me thick but just looked at the dbase folders installed in my start menu and there is a universal installer there, I have clicked on that and it has come up with an error,
    OUI-10150:error:A runtime exception occurred while setting s_dlgCfgNamingLabelSIDnul in component Oracle Database 11g 11.2.0.1.0 Installation cannot continue for this component.
    then it asks to tick one of the boxes:
    Stop installation of all products or
    Stop installation of this component only.
    How do I fix this to continue with the installation.How this is related to the password issue? The password is case-sensitive in 11g so please check that you are using the correct password and it's in the correct case. If you can't remember the last password, issue the below command,
    sqlplus / as sysdba
    alter user sys identified by oracle;The first command would be required to run on the command-prompt.
    Aman....

  • Lost sys password ...any way to recover

    hi All
    I lost the sys password ... is there any way to recover it ....
    Thanks

    Pay no attention to the ridiculous piece of advice you've just been given by someone else! Restoring a prior backup would be a monumentally moronic thing to do -apart from anything else, all you'd be doing is restoring the password you say you've forgotten!
    You don't say what OS you're on, and that makes a bit of a difference, but ultimately not much so I'll just carry on... but as a tip for the future, always mention your OS because then people replying don't have to guess.
    1. Members of the dba group (or the ORA_DBA group on Windows) are allowed to log on as a SYS without supplying a password at all. Connect / as sysdba means "get me on as sys, but I'm not telling you my password" -at which point Oracle checks who you're logged on to at the OS level, and then checks the group memberships of the dba (Linux/Unix) or ORA_DBA groups (Windows). If you're a member you're in... and then you can issue a command such as 'alter user sys identified by newpwd'.
    You can only really do this technique, however, when you're connecting on the box which runs Oracle itself. If you don't have access to the server, it's not going to work. You also need to configure those OS groups with the appropriate tools. If you don't know how to do that, you're in trouble.
    2. If you're using a password file to authenticate as SYS, then you can simply delete the existing password file and replace it with a new one... and you get to specify the new password for SYS at the time you create the new file. The utility provided by Oracle for this purpose is "orapwd" and the command on Windows, for example, would look like:
    orapwd file=c:\oracle\10g\databases\pwdSID.ora password=newpwd entries=20
    The file has to live in the ORACLE_HOME\database or ORACLE_HOME/dbs directory; it has to be called whatever is appropriate for your operating system (now you see why it helps to know your OS!) and the figure for "entries" represents how many people you might want to grant the SYSDBA privilege to in the future, so make it higher than you think you need right now.
    On Linux, the required name for the password file is of the form orapwSID, where SID is the name of your instance/database. On Windows, it's as I showed you above: pwdSID.ora.
    Once you have a new password file in place, you can log in as 'sys\newpword@somedb as sysdba' and again issue an 'alter user sys identified by yetanothernewpword' command: that will update the password file as well as changing things inside the database itself and you'll log on with that password thereafter.

  • Lost sys password

    My Db Version:10.2.0
    OS: Solaris
    I lost my sys password and trying to recreate the password file by issuing
    $/export/home/oracle/product/10.2.0/db_1/dbs/ orapwd file=orapw<SID.ora> password=oracle entries=5
    But after that when i am trying to login like
    $sqlplus
    Username:sys as sysdba
    Password:oracle
    I am getting below error:
    ORA-12546: TNS:permission denied

    Please acquire the required permissions :
    ORA-12546: TNS:permission denied
    Cause: User has insufficient privileges to perform the requested operation.
    Action: Acquire necessary privileges and try again.
    Please export the ORACLE_HOME and ORACLE_SID and then re-create the password file
    After recreating the password file , please login .. it will work.
    regards,
    imran khan

  • Force SYS password

    Hi there,
    in UNIX environment, after issue su - oracle, suppose we can straight login to sqlplus as sysdba without have to key in password.
    su - oracle
    $sqlplus '/as sysdba'
    SQL>
    is it possible to force keying in SYS password after issue sqlplus '/as sysdba'
    thanks a lot

    Hi ..
    Thanks for your reply, but need to know what do u
    mean by backward compatibility?
    Howard, based on your comment,
    1) remove yourself from the dba group
    --> what if my id is stay with dba group? can it be?Two things here..
    1.Connectiong from the remote machine
    2.connecting directly on the server
    I think what you are trying is directy on the server
    If you are member of DBA group and SQLNET_AUTEHNICATION_SERVICES=NTS in the SQLNET.ora the you connect without passsword/wrong password eventhough REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE..
    THis is called OS authentication whihc takes precedence over passworfile authentication
    (2) create a password file
    --> if i create this password file, will it be
    permenant, if i want revert back to original state,
    can i simply delete this password file?If you have created a passwordfie and you want everyone to go through passwordfile in the machine
    set REMOTE_LOGIN_PASSSOWRDFILE=EXCLUSIVE
    SQLNET_AUTEHNICATION_SERVICES=NONE
    Here you only login with password and if you dont passwordfile authentication delete the passwordfile and set the SQLNET_AUTEHNICATION_SERVICES=NTS will enable you to login without password provided you are a member of DBA group
    (3) set the remote_os_passwordfile initialisation
    parameter to EXCLUSIVE to tell the instance that it
    should be used.If you set to to exclusive you can login from the remote machine as sysdba with a password
    --> guys, really confuse right now. which one i
    should change?
    Are you clear?

  • 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

  • Issue with Oracle LONG RAW data type

    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /

    Maddy wrote:
    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /below might work
    12:06:23 SQL> help copy
    COPY
    Copies data from a query to a table in the same or another
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                {APPEND|CREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[/password]@connect_identifier

  • [HELP] ORA-01990 Error opening password file '/home/oracle/OraHome1/dbs/ora

    Dear All,
    I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    How to solve the problems?
    thanks and regard
    ER

    Hai all...
    I did it all..
    but still I got
    ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
    ORA-27037: unable to obtain file status
    Linux Error: 2 : no such file or directory
    additional information: 3
    Help me...
    Thanks
    regard
    ER

  • Sys password ?

    Dear all,
    I have successfully changed the sys password but when I try to login
    through sql developer or Enterprise manager I cannot. Oracle version is 8.1
    But from prompt it works well.
    $sqlplus sys/pass as sysdba
    connected
    sql>
    Any idea why.
    thanks in advance
    SL

    Dear all,
    I have successfully changed the sys password but when
    I try to login
    through sql developer or Enterprise manager I cannot.
    Oracle version is 8.1
    But from prompt it works well.
    $sqlplus sys/pass as sysdba
    connected
    sql>
    Any idea why. You are using os authentication thats the reason you are able to connect through command prompt.
    Do you have any connections settings in sql developer.
    Wahst the error you are getting.
    Eric righ?

  • Connectivity issues from Oracle to Sybase

    Friends.
    I have connectivity issue from Oracle 9.2.0.1 to Sybase 12.5 ASE .I am connecting through the database link in oracle to access the tables.
    The error message i am getting :
    select count(*) from TEST_TABLE@IND_TEST;
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    523 80
    ORA-02063: preceding 2 lines from IND_TEST
    Please guide me how to solve this error message. is it version incompatible now?
    Thanks
    Rocky

    Hi,
    You are now making the connection to the Sybase database but there is a problem with the user and password used in the database link.
    Sybase is case sensitive for names so you need to surround the user/password in double quotes to make sure they are passed to Sybase in the correct case -
    create database link ind_test connect to "sybuser" identified by "sybpass" using 'tnsnames_ora_entry' ;
    where sybuser is the userid as created in Sybase with the password sybpass.
    If they were setup in Sybase in mixed case then it would be -
    create database link ind_test connect to "Sybuser" identified by "Sybpass" using 'tnsnames_ora_entry' ;
    Regards,
    Mike
    Edited by: mkirtley on Sep 27, 2011 12:55 PM

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

Maybe you are looking for

  • Can anyone explain how we create Choose from list for profit center in sap b1

    Hello ALL , Can any body suggest me how we create the CFL for profit Center . I am creating add -on using sdk and create a screen form using screen Painter . In my form there is matrix that contain the profit center column just like in sale order scr

  • 2014 Mac Mini 4k

    Is this possible with the HDMI connection on the brand new Mac Mini (Intel HD 5000 & Iris)? Thanks.

  • Acrobat Designer 7

    I have a form created in AA Designer 7 that is not backward compatible with Acrobat 5 or older versions of Acrobat Reader. When you open it with AA5 you are prompted to upgrade (given a link) and that is not an option. The form will open and I've tri

  • How to locate the path of ExpressVI associated with a step in TestStand 3.1??

    When I associate an ExpressVI with a Step in Teststand 3.1 by using SpecifyModule, its Path is not available in any of the Teststand Variables unlike Standard VI's whose path is located in "Step.TS.SData.VIPath".  Is there any way I can find out the

  • IPhoto and/or Image Capture do not recognize iPhone 3G and/or 4

    SYSTEM DETAILS: Operating System: Snow Leopard - 10.6.6 iTunes 10 - 10.1.1 (4) iPhoto '09 - v8.1.2 (424) Image Capture - 6.0.1 (428) iPhone (3G and 4) - iOS 4.2.1 OPEN USER ACCOUNT 1: When connecting iPhones to Mac the following actions take place: i