Unlocking user account...

The Oracle 10g database seems to have locked a user out. The problem is that the user that has been locked out is the administrator and only the administrator can unlock a user.
How to unlock an administrator?
Thanks!

If you are in Unix probably you can connect with the oracle user (the one that owns the oracle installation) and connect as "/as sysdba" and unlock the user.
Example:
/home/oracle] $ sqlplus
SQL*Plus: Release 9.2.0.6.0 - Production on Tue Dec 19 18:49:36 2006
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Enter user-name: /as sysdba
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
SQL> alter user administrator account unlock;
User altered.In windows you can do the following:
D:\>set ORACLE_SID=DBA
D:\>sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Dec 19 18:56:41 2006
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
connect /as sysdba;
connect /as sysdba;> connect /as sysdba;
Connected.
[email protected]> alter administrator account unlock;
User altered.
[email protected]>Message was edited by:
Delfino Nunez

Similar Messages

  • Unlock user account on PIX v7.0

    How do you unlock a PIX local database user account in PIX v7? You can set the account to lock after a set number of failed password attempts, but I can’t seem to unlock the account. From the CLI, you can display the number of failed attempts and when the account was locked. There doesn’t seem to be a command to unlock the account; the only fix I have is to delete the account then recreate it

    clear aaa local user lockout {username name | all}
    http://www.cisco.com/en/US/products/ps6120/products_command_reference_chapter09186a008045277a.html#wp1912560

  • How to unlock user account in Windows Server 2003

    Hi,
    I want to unlock a user account in Windows Server 2003.
    I have read a great post at http://forums.sun.com/thread.jspa?threadID=716240&start=0&tstart=0
    But I can not get it to work. According to the post the only thing you need to do is:
    "+to unlock an account, just set the value of the attribute lockoutTime to zero+".
    When I set lockoutTime to zero nothing happens. The user can still not logon.
    When I read the lockoutTime attribute for an account that is locked it is empty or zero if I have tried to unlock it earlier.
    So it doesn´t seem to change when the account is locked.
    Thanks!

    Hi,
    Windows Server 2012 has come with the concept of Group Managed Service Account (gMSA).  
    Following are the benefits of gMSA,
    - A single gMSA can be used on multiple hosts.
    - A gMSA can be used for scheduled tasks.
    - A gMSA can be used for IIS Application Pools, SQL 2012 etc.
    Checkout the below link regarding complete information on gMSA (creation and usage),
    http://blogs.technet.com/b/askpfeplat/archive/2012/12/17/windows-server-2012-group-managed-service-accounts.aspx
    Checkout the below thread on similar discussion,
    http://social.technet.microsoft.com/Forums/en-US/5bc96d1b-0cec-4d0c-a99d-7f34509c0714/how-to-use-correctly-managed-service-account-in-windows-server-2012-?forum=winserverDS
    Regards
    Gopi
    JiJi Technologies

  • Unlock user account

    I have two major issues.
    1) while installing Oracle 10g home by using password management I unlocked sysyem account. then by using this query " alter user system account lock" I locked it. when I tried to unlock it gain with the same query "lter user system account unlock", it is not unlocking. it is showing "Not Connected".And also it is showing " ora-01031:insufficient system privileges" .Please suggest how to unlock it.
    2)Apart from OracleDBConsoleorcl service very other services are starting up. While starting OracleDBConsoleorc service it is showing "the file can't find the file specified".
    I set the path as "C:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_SandeepaRout_orcl" were SandeepaRout is my computer name.
    in cmd while I ran the command emctl it shows "EM Configuration issue. C:\oracle\product\10.2.0\db_1/172.16.1.131_'PLSExtProc'; not found " this error.
    'PLSExtProc' is the oracle_sid.
    I think there is something missmatch in the path.
    Please suggest what to do.
    Thanks in advance.

    Hi,
    1- With which user are you logged in in order to unlock SYSTEM account?
    Did you try with SYS as SYSDBA?
    2- You need to set ORACLE_HOME and ORACLE_SID.
    What 'emctl status dbconsole' gives you ?
    What 'emctl start dbconsole' gives you ?
    Path should point to C:\oracle\product\10.2.0\db_1\bin
    Thanks,
    Thierry

  • Oracle user account is getting locked frequently

    Hi everyone!!!
    I am using Oracle 11g on Linux . I have user named "XXX" to whom I have assigned a DEFAULT profile. The Password parameters in DEFAULT profile are as follow.
    Resource Name                                      Resource                                 Limit
    FAILED_LOGIN_ATTEMPTS                    PASSWORD                            20
    PASSWORD_LIFE_TIME                        PASSWORD                            UNLIMITED
    PASSWORD_LOCK_TIME                      PASSWORD                           UNLIMITED
    PASSWORD_REUSE_TIME                   PASSWORD                            UNLIMITED
    PASSWORD_REUSE_MAX                   PASSWORD                             UNLIMITED
    I don't know why my user is getting locked continuously. Even i haven't reached Failed_login_attempts (20). Each time I require to unlock user account as SYS user and then I can connect as XXX user.
    And another thing that I want to know is when user account's status is set to LOCKED, EXPIRED, EXPIRED & LOCKED and LOCKED(TIME).
    Thanks & Regards
    Tushar Lapani

    Hi,
    can you tell me the exact db version?
    As explained in MOS notes:
    DBA_USERS.ACCOUNT_STATUS shows LOCKED after FAILED_LOGIN_ATTEMPTS Is Breached (Doc ID 284344.1)
    How to Interpret the ACCOUNT_STATUS Column in DBA_USERS (Doc ID 260111.1)
    Expected behaviour is:
    1. Oracle release is <= 11.1.0.7.
    DBA_USERS.ACCOUNT_STATUS = LOCKED(TIMED) whenever the number of failed login attempts is > FAILED_LOGIN_ATTEMPTS
    2. Oracle release is >= 11.2 and PASSWORD_LOCK_TIME = unlimited:
    DBA_USERS.ACCOUNT_STATUS = LOCKED whenever the number of failed login attempts is > FAILED_LOGIN_ATTEMPTS
    3. Oracle release is >= 11.2 and PASSWORD_LOCK_TIME = <some fix value>
    DBA_USERS.ACCOUNT_STATUS = LOCKED(TIMED) whenever the number of failed login attempts is > FAILED_LOGIN_ATTEMPTS
    Note
    that 10.2.0.5 displays the same behavior as 11.2, because the fix that  changed the behavior in 11.2 was introduced in 10.2.0.5.
    So I suggest you to follow MOS note
    Finding the source of failed login attempts. (Doc ID 352389.1)
    to find who locked the account.
    Ombretta

  • CUP 5.3 - Mandatory RA for Unlock User Workflow Faulty

    Good day All.
    I have a mandatory Risk Analysis on Workflow stage Unlock User account that is not working. The workflow is supposed to request a mandatory Risk Analysis from the CUP request Approver.
    My config is as follows;
    1) Request Type = Unlock Acc with Assigned Action, Unlock_User
    2) Workflow Initiator =Unlock Acc with Attribute, Condition = And, Attribute = Request Type & Value Unlock Acc
    3) Stage = Unlock Acc with Additional Config >  Risk Analysis Mandatory = Yes*
    4) Path = Stage 1 > Unlock Acc
    I have re-created the Initiator, Stage and Path, but the problem still persists. Please advise.
    Many thanks,
    Mike Hannie

    Good day All.
    Please see the update from SAPAG Below - There could be a bug in the CUP Workflow for Unlock Acc
    09.12.2009 - 22:10:09 CET - Info for Customer by SAP     
    Dear Michael,
    I am sending my analysis results to the support developers after
    testing internally. Analysis is not triggered in an unlock request.
    The next update you receive will be from them.
    Thank you in advance for your patience.
    Warm Regards,
    Kelly Erickson
    Customer Assurance
    Governance, Risk, and Compliance
    SAP BusinessObjects Division
    Regards,
    M Hannie

  • How can I access locked user account on iMac

    Using Yosemite on Imac 2007 model but have been unable to unlock user accounts other than administrator to retrieve student work

    Ask the user to login to their account so you can retrieve the info you want.

  • After upgrade my user account can't be unlocked.

    After upgrade my user account can't be unlocked. Need to create new account, how? System refuses to accept username and password and the file vault encrypts without being stopped.
    Because of that the system freezes, Finder doesn't start, neither Dominique other programs.
    No problems under Mavericks

    If you open a Finder window, do you see your AirPort Extreme in the "sidebar"?  If not, open the Finder's preferences, select the "Sidebar" panel, and check "Connected servers".

  • 10g Database SYSTEM user account unlock

    I wish to permanently unlock my SYSTEM user account. I have tried:
    alter user SYSTEM identified by xxx account unlock;
    After running the command I can logon successfully one time to the SYSTEM account then it is automatically locked again. The next time I try to logon I have to unlock the account again.
    How can I make the unlock permanent?

    1. Modify the password used by oraperf.dll
    The 10g Windows documentation informs customers to run a tool called operfcfg to change the password.
    To set the system password, enter the following: operfcfg.exe -U SYSTEM -P password -D TNS_ALIAS_FOR_DDATATBASE
    See Oracle Database Installation for Windows 10g guide, section 4: Configuring Oracle Components; Configuring Oracle Counters for Windows Performance Monitor
    or
    2. Disable oraperf.dll
    NOTE: This step should only be performed by knowledgable Windows System Administrator's:
    To disable the oraperf.dll, modify the following key in the registry. HKeyLocalMachine\SYSTEM\CurrentControlSet\Services\Oracle10\Performance. Change the value for Library to "notthere_oraperf.dll" from "oraperf.dll".
    SJH
    OCP DBA

  • Unlock db user account thru OEM.

    Hi,
    Is there anyway we can unlock database user account thru OEM.

    Is there anyway we can unlock database user account thru OEM.ALTER USER SCOTT IDENTIFIED BY TIGER ACCOUNT UNLOCK;

  • HELP -  CANNOT UNLOCK A USER ACCOUNT

    Oracle 11.2.0.2
    I dropped a user account, recreated it, and impdp data into. Howver I cant unlock the account logged in as sys.
    Please help !!
    SQL> select username, account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM LOCKED
    SQL> alter user momentum account unlock;
    User altered.
    SQL> select username, account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM LOCKED

    SQL> select username from v$session;
    USERNAME
    SYS
    USERNAME
    21 rows selected.
    SQL> select username,account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM LOCKED
    SQL> alter user momentum identified by mo_v3v_fb21_4fm5_;
    User altered.
    SQL> alter user momentum account unlock;
    User altered.
    SQL> select username,account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM LOCKED
    HOWEVER IF I OPEN IN RESTRICTED SESSION MODE
    SQL> select username,account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM LOCKED
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup restrict
    ORACLE instance started.
    Total System Global Area 1670221824 bytes
    Fixed Size 2220208 bytes
    Variable Size 1325403984 bytes
    Database Buffers 335544320 bytes
    Redo Buffers 7053312 bytes
    Database mounted.
    Database opened.
    SQL> select username,account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM LOCKED
    SQL> alter user momentum identified by mo_v3v_fb21_4fm5_;
    User altered.
    SQL> alter user momentum profile default;
    User altered.
    SQL> alter user momentum account unlock;
    User altered.
    SQL> select username,account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM OPEN
    SQL>
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1670221824 bytes
    Fixed Size 2220208 bytes
    Variable Size 1325403984 bytes
    Database Buffers 335544320 bytes
    Redo Buffers 7053312 bytes
    Database mounted.
    Database opened.
    SQL> select username,account_status from dba_users where username='MOMENTUM';
    USERNAME ACCOUNT_STATUS
    MOMENTUM LOCKED
    SQL> select username from v$session;
    USERNAME
    SYS
    USERNAME
    21 rows selected.
    ANY IDEAS !!!!!!!!!!!

  • Automate unlocking a user account

    automate unlocking a user account by users themselves in case of the following
    1. User accounts that get locked on entering a wrong password
    2. User accounts that are locked due to "Inactivity End date"
    2. can we write a script, to change the password of a user ? are there any functions or API avaialable ?

    Are you referring to the application users? If yes, then you could use FND_USER_PKG API or FNDCPASS (FNDCPASS can only change the password).
    Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to unlock an Azure AD user account?

    Hi Team,
    We have Azure AD hosted on Azure and we want to test the security of our Aazure AD. The requirement is if at all any intruder enters 10 times wrong password & "10 successful Captcha & Wrong password combination" with azure AD user;
    The azure ad user account shall be lockedout. So if it is locked out what is the idle duration to auto unlock. And is there any way to unlock the account on demand through Azure Management portal or powershell? If it is doable through either of these;
    how we can unlock the account; I couldn't find any answers.
    Your faster response is much appreciated in extending our business onto Azure. Thank You.
    Regards,
    Subhash
    Regards, Subhash Konduru

    Hi Team,
    We have Azure AD hosted on Azure and we want to test the security of our Aazure AD. The requirement is if at all any intruder enters 10 times wrong password & "10 successful Captcha & Wrong password combination" with azure AD user; The
    azure ad user account shall be lockedout. So if it is locked out what is the idle duration to auto unlock. And is there any way to unlock the account on demand through Azure Management portal or powershell? If it is doable through either of these;
    how we can unlock the account; I couldn't find any answers.
    Your faster response is much appreciated in extending our business onto Azure. Thank You.
    Regards, Subhash Konduru

  • How to unlock a phone that is locked to a user account after reset?

    I’m writing with an inquiry about the new OS7 upgrades and user account new security.
    We began to receive iPhones 4, 4s and 5 back from our former employees and no longer able to sign back into the phones after a reset. 
    I believe that in order to use any iPhone you needed an existing or new account.
    With the older software we were able to reset a phone through iTunes to default then reassign it to another employee. 
    Since the changes to OS7 after a reset it won’t let us sign in with a any other account expect for the old one that was authorized for a former employee.
    I understand the security concern but in business field this solution does not work since these good phones became no longer usable.
    Please provide a solution on how to bypass the startup screen by creating a new user profile when a phone is reset to factory and connected to wifi or iTunes.
    I believe that the sign in to iTunes should not be mandatory, only for those who like to keep their phone secured as an extra alternative to the password.
    Secondly, older types of iPhones had  defective power button I’m still seeking  answer as to why there is no recall for this repair?
    Hope to hear back from you soon.

    That's called activation lock. You can not bypass it. IF you can provide Apple with proof of ownership for the phones, they may be able to help you.
    Going forward, the best approach is strong policies regarding the return of company owned equipment in working order. Activation locked does not constitute "in working order".
    As to your second question, no one here can address that. This is a user forum. Apple does not participate here.

  • Unlock system user account

    Hi everyone,
    I was trying to login onto one of my database (Oracle Database 10g Enterprise Edition) with the system user account. I have entered the password wrong several times and the account got locked. I tried the following, I logged into the server where the database is installed and executed the following command on "sqlplus" it asked for a user name and I entered "/ as sysdba" I got the error "ORA-01031: Insufficient Privileges" I have ran out of solutions, what do I do next, please help.
    Other information:
    OS: MS Windows Server 2003, SP1
    and I have 3 oracle databases installed

    user13490364 wrote:
    Hi everyone,
    I was trying to login onto one of my database (Oracle Database 10g Enterprise Edition) with the system user account. I have entered the password wrong several times and the account got locked. I tried the following, I logged into the server where the database is installed and executed the following command on "sqlplus" it asked for a user name and I entered "/ as sysdba" I got the error "ORA-01031: Insufficient Privileges" I have ran out of solutions, what do I do next, please help.
    Other information:
    OS: MS Windows Server 2003, SP1
    and I have 3 oracle databases installed
    Is your OS account a member of the local group "ora_dba"?

Maybe you are looking for