Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpsg\tdpsg_auditing018.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Step 3: Test the Audit Settings</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-06-02T18:13:4Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Step 3: Test the Audit Settings" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10575-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="tdpsg_auditing017.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpsg_auditing019.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="tdpsg_auditing017.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpsg_auditing019.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BCGHBCAG" name="BCGHBCAG"></a><a id="TDPSG55283" name="TDPSG55283"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1>Step 3: Test the Audit Settings</h1> <a name="BEGIN" id="BEGIN"></a> <p>At this stage, auditing is enabled and any <code>SELECT</code> statements performed on the <code>OE.CUSTOMERS</code> table are written to the to <code>DBA_AUDIT_TRAIL</code> view. Now, you are ready to test the audit settings.</p> <p class="orderedlisttitle">To test the audit settings: </p> <ol> <li> <p>Start SQL*Plus, and connect as user <code>sec_admin</code>.</p> <pre xml:space="preserve" class="oac_no_warn"> SQLPLUS sec_admin Enter password: <span class="italic">password</span> </pre></li> <li> <p>Enter the following <code>SELECT</code> statement to create an alert in the audit trail:</p> <pre xml:space="preserve" class="oac_no_warn"> SELECT COUNT(*) FROM oe.customers; </pre></li> <li> <p>Enter the following statement to view the <code>DBA_AUDIT_TRAIL</code> view:</p> <pre xml:space="preserve" class="oac_no_warn"> SELECT USERNAME, TIMESTAMP FROM DBA_AUDIT_TRAIL; </pre> <p>Output similar to the following appears:</p> <pre xml:space="preserve" class="oac_no_warn"> USERNAME TIMESTAMP --------------------------- SEC_ADMIN 07-MAY-09 </pre></li> <li> <p>Exit SQL*Plus:</p> <pre xml:space="preserve" class="oac_no_warn"> EXIT </pre></li> </ol> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdpsg_auditing005.htm#BCGDDGEC">About Standard Auditing</a></p> </div> </div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2006, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="tdpsg_auditing017.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpsg_auditing019.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de