To find time when the user was dropped oracle

Hi Experts,
I have query from my auditor that will it be possible to find the time when the oracle user was dropped .
Vesrion oracle 10g,11g
Can we find it through audit trail or there is some dynamic performacne view which keeps this information.
Or other wise we have to create some trigger manually to capture the time if so then please provide the details of the same
A quick responce will be helpfull ....

See here : 11.2.0.1 Windows XP
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select username from dba_audit_trail
  2  where
  3  action=53;
no rows selected
SQL> show parameter audit;
NAME                                 TYPE        VALUE
audit_file_dest                      string      E:\APP\SERVERROOM\ADMIN\ORCL\A
                                                 DUMP
audit_sys_operations                 boolean     FALSE
audit_trail                          string      DB_EXTENDED
SQL> audit drop user;
Audit succeeded.
SQL> create user test identified by test;
User created.
SQL> drop user test;
User dropped.
SQL> column sql_text for a50;
SQL> set line 200;
SQL> select username,
  2  timestamp,
  3  sql_text
  4  from dba_audit_trail
  5  where
  6  action=53
  7  /
USERNAME                       TIMESTAMP SQL_TEXT
SCOTT                          30-APR-12 drop user test
SQL>So, answer is action=53 in dba_audit_trail for drop user and for specific user just add like operator with sql_text column. Means, scott user droped the test user on 30-APR-12.
If you wish to know the meaning of action column of dba_audit_trail then see below link :
http://docs.oracle.com/cd/B19306_01/server.102/b14237/dynviews_2088.htm#g1432037
command.v$session = action.dba_audit_trail
If this answer your question, please close the thread, else continue.
Regards
Girish Sharma

Similar Messages

  • Wmi script to find out the time when the user was added to local administration group

    Hi Friends,
    i need a script/query based on wmi/wql that find out the time when the user was added to local administration group on this computer
    Regards
    Tanoj
    OSLM ENGINEER - SCCM 2007 & 2012

    WMI does not keep security information.
    Unless you have enabled auditing, this information is not retained in any way.
    If auditing is enabled, you can write a powershell script to look for the specific event in the eventlog. More specifically, you should look for all security events with id 4732 containing the group.
    this one command does the trick
    get-eventlog -logname security -instanceid 4732 -message *administrators*
    https://technet.microsoft.com/en-us/library/dd772663(v=ws.10).aspx
    MCP/MCSA/MCTS/MCITP

  • How to make a text field required at run time when the user clicks the checkbox ?

    I got a form where , there are several checkboxes and text fields associated with that checkboxes.If the use clicks on the check box then the associated
    text fields should become required.I have tried the change event and the click event for the checkboxes.It gives error in the onChnage event and I got some weird results in the on click event .Sometimes if the user click the check box , then for the 1st time the field doesnt become required , then the user onclicks the check box and when the user clicks the checkbox for the second time the field becomes required,but if i deselects the highlighted field option and selects it again the field becomes required even if the user onchecks it I am totally confused !!! Adding to it i have also written the wrong code still i achieved the desired result ?? How it can be possible . I am writing the codes below , please help me as i am working under a deadline from the client.
    onChange event :
    var newVal = this.boundItem(xfa.event.newText);
    if(newVal == 0)
        xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1" ).validate.nullTest = "disabled";
      else
         xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1" ).validate.nullTest = "error";
    For the onClick event :
    var a = xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row2.CostItemRecovere d_OnlyEnergyCharges").rawValue;
    //app.alert(a);
    if(a == 0)
        xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").validate.nullTest = "error";
      if(a == 1)
          xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").validate.nullTest = "disabled";
       Please help someone !!!

    I used the onchange event and wrote the code for it. I got the result . But there is a problem.All these fields are in a table and it's a dynamic table where you can add rows dynamically at the run time .I have other change event for some fields in this table .All are working fine when i add the row.But for this check box the required fields are not validated as required at the run time . I am here giving the code , Please help me .
    form1.Subform0.Subform1.Subform9.Subform10.Table48.Row2.CostItemRecovered_OnlyEnergyCharge s::change - (JavaScript, client)
    if(this.rawValue == "1")
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L2_1").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L1_2").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L2_2").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L1_3").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L2_3").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L1_4").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L2_4").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L1_5").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L2_5").mandatory= "error";
    else
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").mandator = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L2_1").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L1_2").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L2_2").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L1_3").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L2_3").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L1_4").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L2_4").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L1_5").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L2_5").mandatory = "disabled";

  • Find out when a table was dropped.

    Hi,
    Looks like one of the application tables had been dropped. I want to find out when it got dropped. Any ideas? I know there is a view called DBA_OBJECTS.
    Thanks,
    Irene

    Maybe it's still in the RECYCLEBIN:
    SQL> drop table t;
    Table dropped.
    SQL> show recyclebin
    ORIGINAL NAME    RECYCLEBIN NAME                OBJECT TYPE  DROP TIME
    T                BIN$jpbH7Bp2JBzgQO2nB3pTHg==$0 TABLE        2010-08-24:13:17:42

  • Is there a way to find out when the user password got changed last time?

    thanks.

    To sweeten the deal, you can get confirmation from this metalink doc,
    ORA-28002 On User Connection Immediately After PASSWORD_LIFE_TIME Changed
    Doc ID: NOTE:162818.1

  • How to find out when the last time a tcode was run by someone

    Hi Team,
    I am just trying to find out if there is a way to find out when the last time a tcode was run by someone.I mean i need to know when was a certain  tcode was last run.
    Thanks,
    Priyanka

    HI Priyanka
    Another way would be using transaction STAT,enter the t-code you like to monitor.This will provide all details,like user, time etc...
    Hope this will help
    Thanks
    Santosh Kumar

  • How to record the time when a checkbox was checked?

    I would like to insert the value of NOW() at the moment when a checkbox is changed from unchecked to checked.
    Having a programming background but now spreadsheet background, I can't find out how to do this seemingly easy thing.

    Hello
    It may appears as a
    • simple task:
    if the checkbox is B2,
    in C2 enter =IF(B2=TRUE,NOW(),"")
    The time will be displayed when you will check the box
    • not so simple
    the time displayed in c2 is a "living" one.
    It will change each time when the sheet will recalculate. So the value will not be accurate.
    Here is a script which will give an accurate result:
    Enregistrer le script en tant qu'Application ou Progiciel : checkandtime.app
    déplacer l'application créée dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Copier le contenu de la cellule "pseudo case à cocher" dans le presse-papiers.
    Sortez de la cellule puis cliquez sur celle-ci
    menu Scripts > checkandtime
    Si vous travaillez avec Mac OS X 10.4.x, le script collera " " ou "X"
    Si vous travaillez avec Mac OS X 10.5.x, le script collera un caractère Unicode coché/pas coché
    S'il colle coché il colle également la date/heure dans la cellule adjacente
    +++++++
    Save the script as an Application or an Application Bundle: checkandtime.app
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Copy the contents of the "fake checkbox" cell in the clipboard
    Exit from the cell then click once in it.
    menu Scripts > checkandtime
    If you work with MacOS X 10.4.x the script will paste " " or "X"
    If you work with MacOS X 10.5.x the script will paste an Unicode character: checked or unchecked
    If it paste checked, it paste also the current date_time in the adjacent cell.
    Yvan KOENIG le 27 mars 2008
    --(SCRIPT checkandtime.app]
    on run
    set theApp to "Numbers"
    try
    set txtDatas to the clipboard as Unicode text
    on error (*
    The clipboard was empty *)
    return
    end try
    log txtDatas
    if txtDatas contains tab then return
    set txtDatas to my applyMask(txtDatas, theApp)
    log txtDatas
    set the clipboard to txtDatas
    my pasteIn(theApp)
    end run
    --=============
    on pasteIn(the_App)
    tell application the_App to activate
    tell application "System Events" to tell (first process whose title is the_App) to keystroke "v" using {command down}
    end pasteIn
    --=============
    on applyMask(t, the_App)
    try
    set v to (system attribute "sys1")
    if (v's class is integer) then
    set v to (v as string) & "." & (system attribute "sys2") & "." & (system attribute "sys3")
    else
    error
    end if
    on error
    set v to (system attribute "sysv")
    set v to ((v div 4096 * 10 + v mod 4096 div 256) as string) & "." & v mod 256 div 16 & "." & v mod 16
    end try
    if v < "
    set faux to " "
    else
    set vrai to character id 9745
    set faux to character id 9723
    end if
    if t is vrai then
    return faux & tab & " "
    else
    return vrai & tab & (current date) as text
    end if
    end applyMask
    --=============
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE jeudi 27 mars 2008 14:32:26)

  • How to find the date when the users has been created in Hyperion Essbase

    Please let me know, if there is any option or way to find the date when the users has been created in Hyperion.
    Essbase - 9.3.1.0.0
    Sun Solaris SPARC (32-bit) - 5.8
    If not in Hyperion, could you please let me know if it gets stored in the repository. If yes, please let me know the table name in Oracle.

    I don't know of a way of getting this information from Shared Services via the standard web UI. However you can see when a native user was created in openLDAP. If your users are all native then you can use an ldap browser to view the CreateTimestamp.
    Port: 58089
    User DN:CN=911,ou=People,dc=css,dc=hyperion,dc=com
    Password: Your shared services admin user password
    You should see each new native user under the ou=People and each CN will have a create timestamp.
    I can't help if all you users are external or your using the old Essbase native security.
    Gee

  • How do I delete a user when the password was forgotten.  I have a OS X Yosemite 10.10.2

    How do I delete a user when the password was forgotten.  I have a OS X Yosemite 10.10.2

    Administrator password forgotten?
    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • I clicked on an  upgrade box and when the upgrade was done my ipad wanted my passcode to open it up.  I have not had to use a passcode to open up my ipad since I set it up and cannot remember the passcode.  Every time I try a passcode it disables

    I clicked on an upgrade box on my ipad and when the upgrade was done my ipad wanted my passcode to open it back up.  I have not had to use a passcode to open up my ipad since I set it up and cannot remember the passcode.  Every time I try a passcode it disables for longer and longer.  It is now disabling for an hour at a time.

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.

  • Recently I downloaded photos from an sd card. When the download was complete all photos were loaded in a random fashion completely out of order.This is the first time it has ever happened this way. downloaded same card to iPhoto and all photos were in ord

    Recently I downloaded photos from an sd card. When the download was complete all photos were loaded in a random fashion completely out of order.This is the first time it has ever happened this way. downloaded same card to iPhoto and all photos were in order. Help needed. Am working on a job that needs immediate attention and HDR images out of order are impossible to deal with.

    Thanks for your help. The out of numerical order comes before the actual import begins. It happens when first uploaded to Lightroom and prior selection of of photos to imported to the catalog.

  • Date when the cube was filled with data for the last time

    Hi!
    We are using a SAP BW System and on top of it BOBJ for reporting. Within BEx Web Application Designer, it's very simple to access the data, when the cube was filled with data for the last time. Is it possible to access this information within BOBJ, too?
    Thanks for your help!
    Greetings
    Stefan

    Hallo Ingo,
    thanks for your answer. That was exactly what we were looking for.
    We will have to think about a workaround now.
    Greetings
    Stefan

  • Can we find out the date/time when the datafile last extended?

    Hello all,
    Can we find out the date/time when the datafile last extended?
    Is it possible to find out from the alert.log file?
    Correct me if I am worng?
    Thanks in advance
    Himanshu

    In continuation with the earlier post, can you tell me what sort of entry should be search if the above information is available in the alert.log file?
    Thanks
    Himanshu

  • My daughter lost her phone.  It is still ringing when called and is showing up on our family locator.  Is there anyway to pinpoint where it is?  She didn't have icloud find my phone turned on when the phone was lost.

    My daughter lost her iphone.  I can locate it with verizon family locator, as it is still working, but this doesn't pinpoint it well enough for us to find it.  She did not have the find my iphone in icloud turned on when the phone was lost.  Is there any way to change the settings on her phone from a pc so I can turn this on?

    If the iphone is a device which is using the iOS 7.0.4 then the 'find my device' is turned on by default. With this being said if you will go to www.icloud.com and login with your apple id login which is assocaited with the device icloud will pinpoint the device within a 10 meter radius.
    Good luck Friend.

  • How to find the date when the cube was created

    Hi gurus
    I just want to find out the date when the cube was created,
    Regards
    Kumar

    Kumar,
    Go to table RSDCUBE, you can see date there.
    Hope it helps,
    Sam

Maybe you are looking for

  • How do I delete photos from camera roll but keep same photo in album

    how do I delete photos from camera roll but keep same photo in album

  • Disjointed rollovers & lightbox help

    Hello, Im a newbie taking some classes & trying to get into the code but it gets frustrating at times. I have 2 sets of rollover buttons on one page. The first set is a bunch of categories (ads, brochures, Illustrations, etc). The second set are thum

  • Associate new type of purchase requsition to Replenishment Planning

    Hi I have created a type of purchase requisition (ZNBB) and I can't associate it to the Replenishment Planning. I have tried to associate it in the SRS parameters and also using the MRP Groups, but WRP1 keeps calling the standard type of requisition

  • How to count number of online user

    i am developing bid application using servlet/jsp. how to count number of online user ple help me.

  • Simple view problem

    dear all, i have one strage problem if i executed query "select * from vu_single_mfg_ir_det_new a where a.lotno= 345" than total cost 235 and if i execute query as "select * from vu_single_mfg_ir_det_new a where a.lotno= (select 345 from dual)" than