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?

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.

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

  • 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

  • HOW TO RESET SYS PASSWORD after rename of db

    Thanks for taking my quesiton!
    I renamed my database. Everything is working fine except I can not change sys password. If I try I get: ORA-28003 : password verified for the specified password failed.
    I can change system's password. I can log on just fine as SYSI think my pwdsid.ora password file may be the problem.
    Has anyone every had this happen?
    Thanks, Kathie

    Hello Kathie,
    http://ora-28003.ora-code.com/
    Have you set some specific password rules? Is the function VERIFY_FUNCTION available for all and is it valid?
    Did you try to change the password for user sys with user sys?
    Try it with some different user which have the rights for that... (for example sys) only for testing...
    @Anantha:
    You are right... but please have a look at here ( Fun with password verification):
    http://radiofreetooting.blogspot.com/2006_04_01_archive.html
    Regards
    Stefan

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

  • Force change password on next login

    Hi,
    i use access manager 7.1 patch 1 and directory server 5.2 patch 4 and want force the user to change his password on the next login.
    I try to check manually the option "Force change password on next login" of one user by Access Manager GUI but don't work.
    The LDAP attribute "iplanet-am-user-password-reset-force-reset" is TRUE but when i try to login Access Manager don't force me to change password.
    anybody can help me?
    regards
    Alberto.

    Anyone never had this problem?

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

  • Sys password problem

    Hi,
    I am trying to login as a sys user....
    but icouldn't, i am getting an error ORA-01017...
    but i have entered correct username and password....
    still i am not able to login into the system........
    now, should i create new password by deleting the old pasword file or there is another way also....
    looking for ur reply....
    SQL> conn sys/password@string as sysdba
    ERROR:
    ORA-01017: invalid username/password; logon denied

    Hi,
    I guess even if you connect with "nolog" still you will receieve the same error.
    Please confirm these things,
    1)Are you are running all teh commands on the server itself.
    2)What is the value of the parameter SQLNET.AUTHENTICATION_SERVICES in the sqlnet.ora.This parameter value in the case of windows should be set to NTS.Check what's teh value?
    3)Confirm that the user (o/s user) through which you have logged in the system,it is a part of ora_dba group in your system.
    Confirm and let us know the outputs.
    Aman....
    PS:This error is reported couple of times.Try searching this forum for the same error also.

  • 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

  • Upgrade WebDB 2.2 to Portal Fails with Invalid Sys password

    I am upgrading from WebDB 2.2.0.0.5 all the way to the latest 3.0.9xx. My database is 8172. I am at the point where you run the 306 upgrade script. It makes it through renaming all the webdb objects to UPG_<OLD_NAME> but then fails with an invalid sys password error when starting winstall. The sys password is not invalid and the script even tests that it is valid before even starting. So, I am not sure what the problem is. I have tried this about a dozen times different ways and still the same error:
    Renaming the 2.2 tables to UPG_<OLD_NAME> and Dropping Objects
    Renamed 66 2.2 table(s).
    Dropped 15 2.2 sequence(s).
    Dropped 164 PACKAGE(S)
    Dropped 3 PROCEDURE(S)
    Dropped 0 FUNCTION(S)
    Dropped 55 VIEW(S)
    PL/SQL procedure successfully completed.
    /appl02/stage/upgrade22
    INSTALLING WINSTALL WITH NEWSSO AND NO CONNECTSTRING
    Error: Invalid SYS password
    Install terminated.
    Running setpass.sql
    /appl02/stage/upgrade22/upgrade/22-30 /appl02/stage/upgrade22
    old 1: alter user !schema_name identified by !schema_password
    new 1: alter user webdb identified by webdb
    User altered.
    /appl02/stage/upgrade22
    /appl02/stage/upgrade22/sso /appl02/stage/upgrade22
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Does anyone have ANY ideas????

    We spend almost 6 months (on and off) to get a successful migration from webdb. After countless discussions with Oracle, because we though we where doing something wrong, Oracle advised us that forms do not migrate "well" and any migrated forms do not display as portals. We are not upgrading 300 components by hand. I do not know if this affects you like it did us but I thought you would like to know.
    Paul

  • 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                                                                                                                                                                                                                                                                                                   

  • Reg SYS Password in Password file

    Hi,
    A Password file was created a long ago in PROD and Used for DR also.
    Now no one knows the sys password used for creating the file.
    Is there any method to get it back.
    Any Method other than creating new file and updating in the DR site.
    Thanks in Advance.
    Krishna

    Krishna VV wrote:
    Hi,
    A Password file was created a long ago in PROD and Used for DR also.
    Now no one knows the sys password used for creating the file.
    Is there any method to get it back.
    Any Method other than creating new file and updating in the DR site.
    Thanks in Advance.
    Krishna,
    No there is no method to get it back. You must recreate the password file to change the password.
    HTH
    Aman....

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

Maybe you are looking for

  • How do I move a calendar from iCloud back to a local calendar?

    I've got a number of calendars that are stored in iCloud. Now I would like to make them local calendars again, i.e., make them appear in the category "ON MY MAC". How can I do that? (without loosing any dates) TIA, Gabriel.

  • How do I get facebook phone numbers into my iphone contacts list?

    I switched from a droid to an iPhone recently and with the droid all of my facebook contacts with phone numbers were synced into my phone and I can't figure out how to do that with my iPhone. I know that you can sync exsisting contacts with their fac

  • Wireless Keyboard for Touch Phones

    Why not nokia should introduce wireless mini keyboard for touch phones? If you like my post or think it was useful then please hit the star button. Thanks :-)

  • Additional fields in Bank Account configuration (FI12)

    Hi, Is there a customizing option to update table TFIBLSCREEN ?. We want to set visible the field "Reference Data" in the Bank Account View in the customizing FI12 (V_T012K-REFZL in program SAPLFHBANKC ). Thanks in advance. Andrés.

  • Call an action From Other View

    Hi all, I have two views view1 and view2. View1 also have an action Action1, View2 have Action2. I wanna call Action1 from view2(action2) . Is it possible ? How can i do that ? View1 and view have different contexts. Regards, Orhan