Expiry of the password for user SYS and SYSTEM

My database 11g 2 on Redhat 5 has sys and system user password expired
SQL> select username,account_status,EXPIRY_DATE
 from dba_users where username like 'SYS%';
  2
USERNAME                       ACCOUNT_STATUS                   EXPIRY_DA
------------------------------ -------------------------------- ---------
SYSMAN                         OPEN
SYSTEM                         OPEN                             15-FEB-11
SYS                            OPEN                             15-FEB-11
But I can still connect the databsae with expired password t.

Should I worry about the expiration of the password of the user these? For a normal user, I can not connect with expired password

Dear user13148231,

Here's an illustration;

SQL> alter user sys account lock;

User altered.
SQL> select username, account_status, lock_date, expiry_date from dba_users where USERNAME='SYS';

USERNAME                      ACCOUNT_STATUS                   LOCK_DATE EXPIRY_DA
------------------------------------------------------
SYS                                      LOCKED                           20-AUG-10      23-FEB-09

SQL> host sqlplus sys/password@opttest as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 20 12:25:43 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> alter user sys identified by password password expire;

User altered.

SQL> select username, account_status, lock_date, expiry_date from dba_users where username='SYS';

USERNAME                      ACCOUNT_STATUS                   LOCK_DATE EXPIRY_DA
------------------------------------------------------
SYS                                EXPIRED & LOCKED                 20-AUG-10   20-AUG-10

SQL> host sqlplus sys/password@opttest as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 20 12:27:02 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> alter user sys identified by password account unlock;

SQL> select username, account_status, lock_date, expiry_date from dba_users where username='SYS';

USERNAME                       ACCOUNT_STATUS                   LOCK_DATE EXPIRY_DA
------------------------------ -------------------------------- --------- ---------
SYS                            OPEN

Even if the State expired and locked it's OK to connect to the database for the user SYS.

SQL> alter user ogan identified by password account lock password expire;

User altered.

SQL> select username, account_status, lock_date, expiry_date from dba_users where username='OGAN';

USERNAME                       ACCOUNT_STATUS                   LOCK_DATE EXPIRY_DA
------------------------------ -------------------------------- --------- ---------
OGAN                           EXPIRED & LOCKED                 20-AUG-10 20-AUG-10

SQL> conn ogan/password
ERROR:
ORA-28000: the account is locked

Warning: You are no longer connected to ORACLE.
SQL> conn / as sysdba
Connected.
SQL> alter user ogan account unlock;

User altered.

SQL> conn ogan/password@opttest
ERROR:
ORA-28001: the password has expired

Changing password for ogan
New password:
Retype new password:
Password changed
Connected.
SQL>

Ogan

Tags: Database

Similar Questions

  • How can I change the password for user sys

    Hi all

    I changed sys user password using the command alter user. but the system still accept the old password; How can I remove the old password and set a new permanent password.

    also on the database machine I can connect without any password for sys and change password for all users in the database. I have this limit?

    Thanks in advance

    Uday

    Hello

    what you see is not a bug, your sysdba connection is authenticated by the operating system
    because your OS user is in the correct dba group, please see the MOS reference:

    notes 242258.1      Why I can't Login AS SYSDBA with any username and password.

    Greetings,

    Damage ten Monkshood

  • The password for user of APEX ADMIN Reset question

    Hi all

    I'm trying to reset the password for the ADMIN user by using the following script (taken from apxchpwd.sql) from SQL Developer. I've connected to the database as a user with DBA privileges.
    alter session set current_schema = APEX_040000;
    begin
    
        wwv_flow_security.g_security_group_id := 10;
        wwv_flow_security.g_user := 'ADMIN';
        wwv_flow_security.g_import_in_progress := true;
    
        for c1 in (select user_id
                     from wwv_flow_fnd_user
                    where security_group_id = wwv_flow_security.g_security_group_id
                      and user_name = wwv_flow_security.g_user) loop
    
            wwv_flow_fnd_user_api.edit_fnd_user(
                p_user_id       => c1.user_id,
                p_user_name     => wwv_flow_security.g_user,
                p_web_password  => 'newPassword',
                p_new_password  => 'newPassword');
        end loop;
    
        wwv_flow_security.g_import_in_progress := false;
    
    end;
    /
    Commit;
    But I am getting following error.
    session SET altered.
    
    Error starting at line 2 in command:
    begin
    
        wwv_flow_security.g_security_group_id := 10;
        wwv_flow_security.g_user := 'ADMIN';
        wwv_flow_security.g_import_in_progress := true;
    
        for c1 in (select user_id
                     from wwv_flow_fnd_user
                    where security_group_id = wwv_flow_security.g_security_group_id
                      and user_name = wwv_flow_security.g_user) loop
    
            wwv_flow_fnd_user_api.edit_fnd_user(
                p_user_id       => c1.user_id,
                p_user_name     => wwv_flow_security.g_user,
                p_web_password  => 'newPassword',
                p_new_password  => 'newPassword');
        end loop;
    
        wwv_flow_security.g_import_in_progress := false;
    end;
    Error report:
    ORA-20001: Unauthorized access (security group package variable not set).
    ORA-06512: at "APEX_040000.WWV_FLOW_FND_USER_API", line 22
    ORA-06512: at "APEX_040000.WWV_FLOW_FND_USER_API", line 1625
    ORA-06512: at line 12
    
    commited.
    The Version of database: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    APEX Version: 4.0.2.00.07

    Can someone let me know what is the problem?

    Kind regards
    Hari

    If I send the APEX_040000 script to our s/n, he ran the old writing that is on the server, thinking that the two should be the same, since the file name is the same.

    Thank you!

  • I don't remember the password for my network, but I do remember the password for my computer and my home group.

    I don't remember the password for my network, I remember the password to my computer and my home group, they are all different to change that, but family crisis distract me unable to use my ipad now or my other computer help!

    original title: password

    Hello

    What operating system is installed on the computer?

    Perform the steps mentioned below, if you have Windows 7 installed on the computer and see if the problem persists.

    a: right click on the wireless in your taskbar icon.

    b: open network and sharing Center and then click manage wireless networks on the left.

    c: you will see all the networks you have connected too.

    d: right click on any connection to Properties.

    e: click on the Security tab that shows the details of the security of the network including the password. Click on the box to Show characters.

    Hope this information helps.

  • Locked user SYS and SYSTEM

    DB version: 11.2.0.2
    Operating system: Solaris 10

    In our production of DBs, I noticed that the SYS and SYSTEM users are locked
    $ sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Jan 19 14:21:34 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning option
    
    SQL> select username, account_status from dba_users where username like 'SYS%';
    
    USERNAME                       ACCOUNT_STATUS
    ------------------------------ --------------------------------
    SYSTEM                         LOCKED
    SYS                            LOCKED
    1. How can I connect to the SYS account despite the confinement. Is it because I have connected via external authentication?

    2. don't lock the user SYS standard practice? If so, why?

    1. How can I connect to the SYS account despite the confinement. Is it because I have connected via external authentication?

    you are the owner of the HOUSE of the ORACLE, you need to connect. Yes its because of external authentication.
    Of course you can not connect the user to the system. Have you tried?

    2. don't lock the user SYS standard practice? If so, why?

    Depends on the security, some cases, a user will be created with DBA roles.

  • Change password for user sys

    Hello
    I use 9.2.0.6.0 database.
    I want to set up in such a way of connection that will ask for the password of the user as if some IDs by the oracle on unix system user. Simply export ORACLE_SID = name of the comic book and sqlplus / as sysdba, so it can connect database with sysdba privileges.
    or
    It can also conn sys/sys as sysdba.

    then he must ask for password I put (different from the sys).
    If only these users can loging as sysdba are knowing this password...

    which way should I follow for this... .or I need to change os also authentication...

    Thank you

    which way should I follow for this... .or I need to change os also authentication...

    To change the sys (as a dba or sysdba) password:

    SQL> alter user sys identified by ;
    

    To disable the OS authentication add/change this line

    SQLNET.AUTHENTICATION_SERVICES = (NONE)
    

    in sqlnet.ora file in $ORACLE_HOME/network/admin.

  • Cannot set the password for user connection in Vista Home Basic

    My laptop (running Vista SP2) has no password on the user account. Guest account is disabled and my user account is administrator.

    I would like to add a password to secure my PC a little more by doing the following:
    AutoScan (Vista Orb) > Control Panel > user accounts > create a password for your account
    I enter a password to 10 characters. I tried more or less characters, a mixture of uppercase and lowercase letters and numbers etc, but everything I try I get the following message:

    "The password you entered does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements"

    Any ideas what to do here? I tried searching online and through this forum but have been unable to find someone who had the same problem, and even less it is solved!

    I ran Microsoft Security Essentials software, choose scan "Full". The software found no viruses or malware on my computer, but he did put in quarantine RealVNC (software remote access we use occasionally to work).

    I have created a screenshots of system information (to show which operating system I use), the dialogue 'create password for your account' (to show that I am logged on as administrator and to make sure that I do not have the process wrong--always possible!) and the error message "user account control panel.

    Computer info here

    I also took a screenshot of the thing that MSE found after analysis is complete on my system.

    Microsoft Security Essentials here Info

    Thank you

    Eamon

    I solved this problem!

    The problem was caused by HP - something that was installed on my laptop security manager because I bought - I never used and had no idea he was running. I discovered this when I decided to upgrade my operating system to Windows 7. I was running a tool to check if the software I had installed is compatible for the upgrade; It turns out that the HP Security Manager is not compatible with W7, and when I uninstalled it I followed a hunch that it might interfere with my account - tried by adding a password and he succeeded!

    I was also able to install Sophos and it works properly now.

    I've always upgraded to Windows 7 in the end, but it was nice to be able to solve this problem (even if it took me Age to understand!) Hope this helps someone else with a similar problem.

    Eamonlaser

  • I FORGOT THE PASSWORD FOR USER NAME.

    IM USING WINDOWS VISTA HOME BASIC AND I FORGOT THE USER NAME. I DO NOT KNOW WHAT TO OPEN THE COMPUTER. THANKS TO ALL WHO CAN HELP ME

    Hello
    Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please refer to the below sticky

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/3eba3150-8742-4264-be9f-0daaad2282cd Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Need help to retrieve the password for user account Windows 8.

    I need help!

    I have configured my windows 8 "admin" or "user account" password for over a year now and I don't remember what it is. I tried to download a new antivirus on the computer software but it takes the administrators password to make changes to this laptop.

    How can I know what is this password and how do I solve the problem in order to be able to install new software?

    Thanks in advance

    Josh

    Hello

    "What to do if you forget your password Windows 8/8.1"

    http://Windows.Microsoft.com/en-us/Windows/what-do-forget-Windows-password#1TC=Windows-8

    If you have forgotten your Windows password, there are several ways to recover or reset:

    • If your PC is on a domain, your system administrator must reset your password.

    • If you use a Microsoft account, you can reset your password online. For more information, see the Web to reset your password page.

    • If you use a local account, use your index of password as a reminder.

    If you've tried these suggestions and still unable to connect:

    • If you have Windows 8.1, you will need to reinstall Windows.

    • If you have Windows RT 8.1, you will need to contact the manufacturer of your PC.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Microsoft prohibits any help given in these Forums for you help bypass or "crack" passwords lost or forgotten.

    Here's information from Microsoft, explaining that the policy:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/keeping-passwords-secure-Microsoft-policy-on/39f56ef0-5d68-41AD-9daa-6e6019c25d37

    See you soon.

  • Mail keeps dropping the password for my hotmail and I have to go to the server settings to enter

    Every time I start up my macbook pro mail fails to synchronize. It is said there is a problem with my apple ID, but must go to the preferences of mail and re - enter my e-mail password in the outgoing server details page.

    Mail cannot differentiate between many different problems that can cause "server not responding do not. He has NOT lost your password. Because it can do something if the password has been bad, it ask the password once again and interfere with the old password with what you have entered.

    If you know that your password is correct, I recommend dismiss you these requests and do not read anything. Open:

    Mail > window > connection doctor...

    to see what is happening, or ignored for a few minutes and it can repair itself.

  • change the password for root esxi and esx?

    Hello

    Is there an easy way to change passwords for root of esx esxi via powercli hosts?

    Thank you!!!

    You can use the Set-VMHostAccount cmdlet to change the password of an ESX/ESXi server. Remember that you must connect directly to the host to do.

    SE connect-VIServer-Server ESX1.yourdomain .com - user root - password secret

    Game-VMHostAccount - UserAccount root - password topsecret

    Best regards, Robert

  • Change the password for user Linux Hyperion

    Hi all

    To change the password of the user of Linux with which components Hyperion (Essbase and Studio) have been installed.
    Services run under this username.
    Password changing in any case affect work on the Hyperion services?

    Thank you.

    If you do not use username/password details in one of the EMP configuration then it is not a problem, you should be fine with essbase studio.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Subsidies granted by user SYS and SYSTEM

    Hi all

    Please, help me to understand this problem.

    I have a few schema named maps_ref where I create a view. (table abc discovers abc01).
    Here, I have granted the create view, creates all privs view to maps_ref by linking the SYS as SYSDBA.
    He alllowed me to create the view.

    As a test, I revoked the privileges by connecting as a SYSTEM and he revoked the privileges granted by SYS as SYSDBA.
    Later, of course, I couldn't create the view.

    This means that subsidies granted by SYS as SYSDBA resumable system however SYSDBA is then more powerful SYSTEM?

    I'm a little confused how it worked? Please explain.

    Rgds,
    Aashish

    Hello

    SYS is not normal user and you are not able to connect without clause SYSDBA.

    sqlplus sys@test

    SQL * more: version 11.1.0.7.0 - Production on Wed Apr 8 09:48:37 2009

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    Enter the password:
    ERROR:
    ORA-28009: connection as SYS must be SYSDBA or SYSOPER

    Enter the user name:

    sqlplus sys@test as sysdba

    SQL * more: version 11.1.0.7.0 - Production on Wed Apr 8 09:48:55 2009

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    Enter the password:

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >

    Kind regards
    Tom
    http://OracleDBA.cz

  • If I choose to never save the password for a website and you want to come back on how I can?

    Password problems

    You can remove this site from the exceptions: Tools > Options > Security: passwords: Exceptions

    See Password Manager - don't forget, delete, modify and import passwords saved in Firefox

  • Encrypt the sys and system tables

    How encrypt/limit sys and system tables so that no users can view them.

    On a user database few have access s/n.

    Is it possible to restrict their access to the tables of the dictionary.

    RAC_DBA wrote:
    How encrypt/limit sys and system tables so that no users can view them.

    On a user database few have access s/n.

    Is it possible to restrict their access to the tables of the dictionary.

    If you want to protect the data dictionary, then use 07_DICTIONARY_ACCESSIBILITY parameter to deny users that has 'SELECT ANY TABLE' privilege to select the data belonging to SYS

    And don't forget, if you share the password for user SYS or SYSTEM, it means that you share all the information as data dictionary

Maybe you are looking for