Changing a SYS Password Permanently.

Hi,
How could i change a sys password permanently?
Kindly post me the steps in changing the same.
Previously i have tried creating the Orapwd file as follows
Ive shuddown the DB and exported ORACLE_SID=poorna
created
orapwdfile=ORACLE_HOME/dbs/pwdpoorna.ora password=poorna
I was able to login as sys/poorna as sysdba and sys/sys as sysdba also.
I want to login as sys/poorna only.
also i have tried alter user sys identified by poorna (changes doesn't takes permanently)
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Thank You.

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - ProductionYour OS platform is Linux &
created
orapwdfile=ORACLE_HOME/dbs/pwdpoorna.ora password=poornayou created password file is in format of Windows. So this password file even if you create, it will be ignored as srp mentioned.
I was able to login as sys/poorna as sysdba and sys/sys as sysdba also.
I want to login as sys/poorna only.
also i have tried alter user sys identified by poorna (changes doesn't takes permanently) When you are the owner of the ORACLE that mean you have OS authentication, Actual authentication no need. Try with wrong password from client machine or any other machine with wrong password. :) then you will.

Similar Messages

  • Changing the 'SYS' password question ?

    Is it possible to change the password for 'SYS' without changing the 'REMOTE_LOGIN_PASSWORDFILE' from shared ?

    NO
    conn sys as sysdba
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> alter user sys identified by password;
    User altered.
    BUT IF UR remote_login_passwordfile IS SHARED
    THEN U CANT ABLE TO CHANGE THE SYS PASSWORD
    ERROR at line 1:
    ORA-28046: Password change for SYS disallowed

  • 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

  • How to recreate dbconsole (Oracle10g ) after change SYS password?

    Hi all,
    would like to know how to recreate dbconsole after change SYS password? is there any links i can refer?
    Thanks
    Rgds,
    Nonie

    You don't need to recreate the console after changing the SYS password, it is not required. Once you have changed the sys password, the only two tasks you'll may have to do are:
    1. Connect to the DB Control Console with the new password (mandatory, obviously).
    2. Change the preferred credentials, in case you have stored the sys password as preferred credentials for your database.
    Console repository and EM configuration have to be rebuilt only when there are connectivity conditions that have changed, such as host name change, or IP address change, which happens when you get your IP address by means of a DHCP server.
    Are you currently facing some issue, besides the log in with new credentials, when attempting to start services?
    One more thing I could guess you are working on a 10gR?? (1 or 2) on an unknown platform (unix, windows???) please specify.
    ~ Madrid

  • Standby Gaps after changing sys password

    Hi all,
    11.2.0.1
    aix6.1
    I changed our sys password at primary db and copy the "orapwdprod" from source dbs  to "orapwdproddr"  at standby dbs.
    But I noticed that the log is not sync.
      1  SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
      2  FROM
      3  (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
      4  (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
      5* WHERE ARCH.THREAD# = APPL.THREAD# ORDER BY 1
    SQL> /
        Thread Last Sequence Received Last Sequence Applied Difference
             1                   2635                  2594         41
    Where can I check the error why is it not applying acrhive logs
    Thanks,
    zxy

    For example:
    In primary run again transfer orapwd (command scp)
    bash-3.2$ scp /u01/app/oracle/product/11.2.0/db_1/dbs/orapwXXXXX1 Standby_ip:/u01/app/oracle/product/11.2.0/db_1/dbs/orapwXXXXX
    Password:
    orapwKBAZER1         100% |**************************************************************************************************************************************************|  2048       00:00  
    And please run sql query again:
    SELECT status, error
    FROM V$ARCHIVE_DEST_STATUS
    WHERE STATUS <> 'DEFERRED' AND STATUS <> 'INACTIVE';
    I have done this carefully and Im sure I did it correctly.
    How can I test connectivity to standby database?
    Can I run  at primary server > sqlplus sys/passwd@standby as sysdba ? to test if I can connect using the password file?

  • Idea for Automatically Changing Sys Password

    What is the best approach for automating the changing of sys password every x amount of days?
    I need to do this for security reasons

    Best practice is to never use SYS for anything other than patching. So my recommendation is to change it after patches are applied and make sure that no one uses it except for patching.

  • How do you change sys password?

    I know this is basic but I just can't get it.
    How do you change the sys password from
    change_on_install ?
    It seemed to expire or something, maybe my installation is messed up from shutting down linux without first shutting down oracle.
    Please help me learn how to change my sys password.
    Armand

    You can change the sys password as any user that has DBA Privs from sqlplus.. eg log in as system/manager.
    If you do not know the system password you can log into server manager and connect internal.
    Either way the statement you are looking for is
    alter user sys identified by password;
    Rod

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

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

  • Changinf sys password in dataguard env

    Hi,
    Version:10gr2
    Changing sys password is not reflected in standby site.
    Alter sys identified by asdf';
    At primary site orapw<SID> file got updated but stanby db password file is still old one. Does this means:
    every time we change sys password at primary do we need to copy the password file to standby?
    We have 50 db's in that 20 are dataguard env's. We have a script to change sys password's automatically every month. Its really a painfull job to go to all env's and copy the password file to all the standby locations.
    When we create password file with orapwd even then we need to shift the password file to all stanby sites.
    Please suggest me is there any way i can change my sys password with 'ALTER USER SYS' command and that chage picks the standby database.
    Thanks,
    Anil

    you can create a unix script which does SCP password files to standby after you reset password.
    this can be done from any machine.
    --Girish                                                                                                                                                                                                                                                                                                   

  • Sys password accepting anything

    HI,
    today morning i came across a wierd scenario.
    I changed the sys password for database by using /* alter user sys identified by xxxx; */
    also i updated the changed password in the password file.
    everything went fine.
    But again when i took a new session of sys for the same database it took any password i typed and logged me in the database as "SYS"
    could anyone explain this..
    Oracle version:10gR2
    OS version-HP-UX
    regards

    today morning i came across a wierd scenario.
    I changed the sys password for database by using /* alter user sys identified by xxxx; */
    also i updated the changed password in the password file.
    everything went fine.
    But again when i took a new session of sys for the same database it took any password i typed and logged me in the database as "SYS"
    could anyone explain this..You authenticated as OS user also SYS can connect with any password and owner of the ORACLE HOME.
    SQL> conn sys/abc as sysdba
    Connected.
    SQL> conn sys/def as sysdba
    Connected.
    SQL> conn sys/hij as sysdba
    Connected.
    SQL>

  • Recovering Sys password created on install

    After installing 9i @ home, I changed the Sys password to something so easy to rememeber that I forgot it!
    I can't log in as System/Manager, Sys/Manager, DBA/Manager...only scott/tiger.
    Is there a way to recover my sys password?

    Please post this question in the Database forum.
    The URL is:
    http://otn.oracle.com/forums/database.html

  • Change the SYS & SYSTEM Oracle passwords with BRTOOLS, any concerns ?

    Hello, I would like to change both the SYS and SYSTEM Oracle passwords with BRTOOLS :
    (1) Can I use BRTOOLS to change them, or, I have to change them through SQLPlus ?
    (2) Any concerns, will this password change affect my SAP normal operations ?
    (3) Do I need to re-start the whole SAP UNIX system when I complete the password changing ?
    (4) Or changing these 2 passwords is totally an Oracle RDBMS issue, it will not have any effect on SAP ?

    But I failed. I was going to change the password of SYSTEM, but why SAP asked me to enter the password of SAPDEV ?
    Why ? OK, then I entered the SAPDEV password (it is the same as SYSTEM's old password).
    Then, I called SQLPlus and entered login name : SYSTEM, but why its correct password was still the old one, the new one failed. Why ?
    I just wanted to change the password of SYSTEM, why it was related to SAPDEV ?
    Here is the screen message :
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    8
    BR0280I BRTOOLS time stamp: 2010-01-15 10.22.46
    BR0663I Your choice: '8'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.22.46
    BR0656I Choice menu 2 - please make a selection
    Additional BR*Tools functions
    1 = Show profiles and logs
    2 - Clean up DBA logs and tables
    3 - Adapt NEXT extents
    4 - Change password of database user
    5 - Create/change synonyms for DBA tables
    6 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    4
    BR0280I BRTOOLS time stamp: 2010-01-15 10.23.14
    BR0663I Your choice: '4'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.23.14
    BR0657I Input menu 59 - please check/enter input values
    BRCONNECT options for changing password of database user
    1 - BRCONNECT profile (profile) ............... [initDEV.sap]
    2 - Database user/password (user) ............. [/]
    3 ~ Database owner to change password (owner) . []
    4 - Message language (language) ............... [E]
    5 - BRCONNECT command line (command) .......... [-p initDEV.sap -l E -f chpass]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    2
    BR0280I BRTOOLS time stamp: 2010-01-15 10.28.56
    BR0663I Your choice: '2'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.28.56
    BR0681I Enter string value for "user" [/]:
    SYSTEM
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.08
    BR0683I New value for "user": 'SYSTEM'
    BR0263I Enter password for database user 'SYSTEM' (maximum 8 characters):
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.32
    BR0657I Input menu 59 - please check/enter input values
    BRCONNECT options for changing password of database user
    1 - BRCONNECT profile (profile) ............... [initDEV.sap]
    2 - Database user/password (user) ............. [SYSTEM/*******]
    3 ~ Database owner to change password (owner) . []
    4 - Message language (language) ............... [E]
    5 - BRCONNECT command line (command) .......... [-p initDEV.sap -l E -f chpass]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.41
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRCONNECT will be started with options '-p initDEV.sap -l E -f chpass'
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.41
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2010-01-15 10.29.49
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0801I BRCONNECT 6.40 (39)
    BR0280I BRCONNECT time stamp: 2010-01-15 10.29.52
    BR0263I Enter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.34.58
    BR0263I Reenter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.35.57
    BR0482W The passwords entered must be identical
    BR0280I BRCONNECT time stamp: 2010-01-15 10.35.57
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRCONNECT:
    c
    BR0280I BRCONNECT time stamp: 2010-01-15 10.36.31
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRCONNECT time stamp: 2010-01-15 10.36.31
    BR0263I Enter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.37.03
    BR0263I Reenter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.08
    BR0482W The passwords entered must be identical
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.08
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRCONNECT:
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.11
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRCONNECT:
    c
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.14
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.14
    BR0263I Enter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.16
    BR0263I Reenter password for database user 'SAPDEV' (maximum 8 characters):
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.18
    BR0829I Password changed successfully in database for user SAPDEV
    BR0830I Password changed successfully in table OPS$DEVADM.SAPUSER for user SAPDEV
    BR0280I BRCONNECT time stamp: 2010-01-15 10.38.18
    BR0803I BRCONNECT completed successfully with warnings
    BR0292I Execution of BRCONNECT finished with return code 1
    BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
    BR0280I BRTOOLS time stamp: 2010-01-15 10.38.18
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2010-01-15 10.38.44
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRTOOLS time stamp: 2010-01-15 10.38.44
    BR0656I Choice menu 2 - please make a selection
    Additional BR*Tools functions
    1 = Show profiles and logs
    2 - Clean up DBA logs and tables
    3 - Adapt NEXT extents
    4 + Change password of database user
    5 - Create/change synonyms for DBA tables
    6 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:

  • Failed in changing sys password

    Dear Experts,
    Loged on as DBA I perform the following:
    alter user sys identified by my_new_strong_pass
    Trying then to log on as sys using this new pass, the pass is said not to be correct.
    I'm running 9iR2. More (even if sys and system are not comparable) I can change the system password and log on corretly afterwards.
    Any idea is appreciated.
    Regards,
    Guillaume

    You are definitely right. I did so and it worked but the pb is I can't stay with SQLNET.AUTHENTICATION_SERVICES=(NTS) because using dba studio I get a "shared memory realm not available" if I try to restart the DB once stopped for any reason.
    I need to set back to SQLNET.AUTHENTICATION_SERVICES=none. This behavior is new following the migration of the servers into AD. Buit keeping this "none" setting prevents me from connecting using Dba studio or Toad.
    Did one of you already experience such a behavior of the DB ?
    I don't have the same issue with the other instance hosted on the server, I mean connected as DBA I can change the pass of sys under Toad and connect with the new password keeping the setting to "none".
    Best Regards,
    Guillaume
    Message was edited by:
    [email protected]

  • Changing Sys password in RAC

    We are into the process of changing sys password of our RAC database.
    If i change password on one node, will that password be get reflected on another node ??
    (Since sys password is also stored in password file, i doubt, if change password on one node, the password file on another node will also get updated).
    we have separate password files for each instance e.g inst1, inst2
    so do i have to give command
    alter user sys identified by new password .....on inst1
    and
    use orapwd ustility on inst2 to change sys password.
    or else
    alter user sys identified by new password......on inst1
    alter user sys identified by new password(same as that of inst1) .....on inst2
    ***********

    oracle@xxx-xxx-d@testdb: /orabase/oracle/product/10.2.0/db_1/dbs
    -bash-3.00 $ orapwd file=orapwtestdb password=tatamata
    SQL*Plus: Release 10.2.0.2.0 - Production on Tue Aug 7 13:22:42 2007
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SYS@testdb > alter user sys identified by goran;
    User altered.
    SYS@testdb >
    SYS@testdb > connect sys/goran as sysdba
    Connected.
    SYS@testdb > connect sys/tatamata as sysdba
    Connected.
    SYS@testdb >

Maybe you are looking for

  • BlackBerry Desktop Software installs but then fails to open

    Purchased BlackBerry today. BlackBerry Desktop Software installs from distribution disc but then fails to open. Can see it in Windows Task Manager>Processes, as follows: Windows Task Manager>Processes   Image Name: DesktopMge.exe CPU: 00 Mem Usage: 7

  • How to display binary file saved in BLOB column in Discoverer PLUS /VIEWER

    HI, Friends, I tried to display the binary file saved in the database in BLOB column with the *.doc or *.xls fomats, but it seemed not work at all. I can display them in discoverer DESKTOP, but not the web version PLUS or VIEWER. MY Discoverer PLUS/V

  • Help need to recover corrupted ipad backup

    I need help recovering a corrupted ipad backup. I was unable to restore my ipad from the backup when upgrading to ios 4.2. Does anyone know of a program that will allow me to decrypt the data from this backup?? Any hints or help would be greatly appr

  • Calculating Distance given a 4 point 2D image

    Hi All, 3d n00b so play nice :-) I'm trying to use a Wii remote camera to calculate real world distance from an object in Java. The Wiimote will supply me the x and y coordinates of the 4 point object, which is actually 4 lights on the floor in this

  • Creating Business Components from Teradata tables

    I'm trying to use the "business components from tables" wizard using a connection to a Teradata database. The business components get created without attributes. I'm getting an error where JDeveloper thinks that the Teradata table doesn't have a prim