Finding out who is locking account in database

Hi Gurus,
Need help out for some investigation .
We have one user created in database and it is shared with only DBAs. From last one month, account is getting
locked and we need to do again unlock. We don't want to set any audit parameter or trigger to capture.
Is there any generic way to find out from views who has locked and when it was ?
Thanks & Regards

No, listener log does not show accounts being locked, but it does show database connection requests. So if you know the time an account was locked (select lock_date from dba_users), you can see from the listener log what connected to the database at that time. (asuming that the connection request was from a remote client, not the DB server)
E.g if I found that the account was locked at 15:55:11 then I can tell from my listener log that it is probably due to a bad password stored in sqlserver on host windows1 :-
29-DEC-2009 17:55:11 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=prod)(CID=(PROGRAM=d:\SQLDAT~1\MSSQL\binn\sqlservr.exe)(HOST=windows1)(USER=sqladmin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=111.111.111.111)(
PORT=4000)) * establish * prod * 0Listener logs are an important source of audit information (because many people forget to enable audit)
You may find this of interest :- http://www.dbazine.com/oracle/or-articles/nanda14/

Similar Messages

  • How to find out who is locking my database account ?

    Hi,
    Which dynamic view can help me to find out who is locking my database account ?
    Thanks

    Yoav wrote:
    Hi,
    Which dynamic view can help me to find out who is locking my database account ?
    Thanksdoes account have PROFILE?
    if so, repeated failed logons can result in locked account.
    enable AUDIT to see from where logins originate.

  • How to find out who provocates locking of SAP account?

    Hi,
    we have the problem that someone obviously tries to annoy one of our SAP users
    by provocating the locking of the SAP users account due to too many attempts to
    log on with the wrong and unknown password. That's pretty aggravating for us so
    that we are looking for a possibility to find out WHO (IP-address?) is
    bantering the SAP user! Is it possible to find that out? Syslog (SM21) doesn't
    show anything!
    Thank you,
    Rainer

    Hello Rainer,
    Please find the below link which will be help of some use:
    Locked user information
    Rgds,
    Gadde

  • How to find out what user locked account

    We had production type schema account locked this morning. I checked profile which this user belongs and it has 3 times for Failed Login Attempts. My question is how to find out what user had 3 unsuccessful login attempts and lock this account.
    Oracle version 8.1.7

    Assuming that [auditing was enabled|http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/security.htm#sthref2916], the command
    AUDIT CONNECT WHENEVER NOT SUCCESSFULThat will write audit records when there is an unsuccessful login. Depending on how you've configured auditing, those records will either be written to the SYS.AUD$ table, in which case you can query them through a few different views, or to a file on the operating system that you can grep.
    Justin

  • How to find out, who locked the same row

    Dears,
    I have a problem,
    sometimes our user complain that, when he tyring to make a transaction to a specific customer's Account
    its says 'Some other user access the same account, keep trying...' (like this).
    and in this response I just kill that user's session. then he can make the transaction by reconnecting.
    sometimes my solution(killing the session) can not slove this problem.it stayed even 5/6 hours long.
    in this time,i cannot find any bloking session or such a long waiting session.
    In this Scenario..
    I need to find out who(SID,SERIAL#,USERNAME) locked the same ROW (not table).
    There are many users who are locking different rows of the same table at the
    same time. I need to find the one who locked my row.
    is it possible to find out, who locked the specific customer's Account ?
    I am trying to find out by the following query but failed.
    SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id
    SELECT *
    FROM (SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id)
    WHERE rowidd IN (SELECT ROWID
    FROM account_mas
    WHERE branch = '999' AND accout_no = '009990215454')
    please help me...
    My Database version- 10.2.0.4, windows
    Regards
    Halim
    Edited by: Abdul Halim on Oct 26, 2009 2:43 AM

    Just check with this query, find the lock and kill the session.
    select b.session_id ,a.SERIAL#, a.username "Blocker Details"
    from v$session a,dba_lock b
    where b.session_id = a.sid
    and b.blocking_others = 'Blocking';
    Regards
    Asif kabir

  • How do we find out who the query originator is on the DB2 database side?

    OBIEE 11g will typically connect to the database using a generic account. Some of the queries are using too
    many resources on our DB2 database. How do we find out who the query originator is (by userID), on the DB2 database side, and not on the OBIEE side? Our research is leading us to Query banding used in Teradata.
    We are looking for something similar, that would work in DB2. 

    If you go to www.speedtest.net it will display which ISP you're with in the bottom corner. There are a few other websites which tell you too but the URLs escape me at the minute
    Dean
    BTCare Community Mod
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • TS1646 We have several apple devices in our family who use my debit card for itune charges.  I need to find out which device (itune account) these charges are coming from.  Can you help?

    We have several apple devices in our family who use my debit card for itune charges.  I need to find out which device (itune account) these charges are coming from. Can you help?

    You can't tell which device a purhcase was made on, but if your family members each have their own iTunes account to which your card is linked then you can check the purchase history on each of those accounts via the Store > View Account menu option on your computer's iTunes - that should have 'purchase history' section with a 'see all' link to the right of it

  • How do I find out who my iPhone 4S is locked to? I can't get passed the activation screen.

    How do I find out who my iPhone 4S is locked to? I can't get passed the activation screen.

    How can you not know this? Where did you get the phone?
    Ask whoever you bought it from or call AppleCare and give them the serial number.

  • TS3376 how can i tell if someone is logging into my find my iphone account and how can i find out who it is?

    how can i tell if someone is logging into my find my iphone account and how can i find out who it is? Can I add a second layer of password security for Find My iphone?

    Nobody can log in to your iCloud account unless you gave them your password. There is no other way.
    If you shared your password with someone (not a good idea) and no longer want them to have access to your account, change the password and don't share it again.

  • Is there any way to find out who is accessing my find my iphone account ?

    Is there any way to find out who is accessing my find my iphone account ?

    No.  Go to id.apple.com, log in with your Apple ID & password, and immediately change your Apple ID password and security questions.
    Also, change the password to your associated emails counts as well.

  • So this is my question. In January 2012 my iTunes account was hacked. How can I find out who did this to me?

    How to find out who hacked my iPhone and iTunes account ?

    You really do not.
    Most likely the hackers are in Russia or China and are part of a large criminal group.
    You were not specifically targeted, just a random victim.
    Let it go.

  • How to find out who your administrator is and why I can't view certain things even on this web sight business account is what I have

    How do I find out who my administrator is and why I can't view certain things and get error 401 says i am an unauthorized user
    It is a small business which doesn't make sense why I shouldn't be able to access certain pages  on the Internet
    I believe my husband is the administrator actually
    Plus 404 and 403

    If you are referencing a specific web site, there is no way to determine who is set up as administrator. Contact the web site directly.
    Barry
    P.S. As a note, you already received an answer to your "401" question. Please do not rephrase a question and post it again. We are volunteers here and do not like to answer something that has already been addressed.
    Message was edited by: Barry Hemphill

  • How do i find out who is visiting my site

    Hi
    How do i find out who is visiting my site (free service)
    I don't want to know how many, I want to know WHO is visiting my site on a daily basis and what search terms they are using.
    How can I get this info from google webmaster tools or my adwords account?
    Any help appreciated

    BOTH are safe and serve different functions.
    Google Analytics will tell you which geographic regions your site visitors come from, which web browsers they use, which display settings, which site pages they visited, where they came from plus a lot more...
    Freefind.com is a search engine you can add to your web pages.  They will send you weekly or monthly e-mails listing your site visitor's search terms.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • HT201441 i just bough a used iphone but looks that it was found and i cant unlock it. its still link to the last user my question is how do i find out who is the last owner so i can unlock it

    i just bough a used iphone but looks that it was found and i cant unlock it. its still link to the last user my question is how do i find out who is the last owner so i can unlock it

    peeweenborre wrote:
    i just bough a used iphone .... its still link to the last user ...
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund,

  • How can I find out who downloaded an app

    We have several people who use the same iTunes account how can I find out who downloaded an app

    Yahoote wrote:
    We have several people who use the same iTunes account how can I find out who downloaded an app
    Ask them.  Unless they are a bunch of fibbers, you can easily find out.
    Also, note that many things about iTunes work better when there is one account per person.  Consider going that way. 

Maybe you are looking for

  • How to find Last Payment date for vendor

    Hi, I am working on ALV  Vendor report details. 1) How to find the last payment date for the vendor. 2) In input paramter field       PARAMETERS: L_FILE  LIKE  RLGRAP-FILENAME.    I want to validate the user input in the selction screen for downloadi

  • Using XI in  Data Migration World

    Hi, We are thinking to use XI as a replacement to ETL tool in our typical data migration activities. 1) Is it easy to do XI for data migration activities like converting Materials, Vendors,Customers, etc? There will be significant cleaning & profilin

  • Pdf opening problems

    Hi, Since a couple of month, i have problem downloading pdf from internet, in fact i can't download them (i download them with my phone et put them on dropbox...) I looked on different communities to find a solution but nothing helps me. Some talk ab

  • Error message when reassigning users

    Hi there I am having endless problems when i reassign users in the org. structure. I am getting this error message when I try to reassign a user in the org. structure: inconsistent user. Can anyone please explain this error message as well as tell me

  • Forcing PopupFactory to return a heavy weight popup

    Hi, in my application I want to display a Popup over the top of a Canvas that is within a JPanel. The way I am trying to achieve this is: PopupFactory popupFactory = PopupFactory.getSharedInstance();          Popup tipWindow = popupFactory.getPopup(t