Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpsg\tdpsg_privileges009.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 2: Create User Accounts for This Tutorial</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-06-02T18:13:3Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Step 2: Create User Accounts for This Tutorial" /> <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_privileges008.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpsg_privileges010.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_privileges008.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpsg_privileges010.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CIHDAGCG" name="CIHDAGCG"></a><a id="TDPSG33232" name="TDPSG33232"></a></p> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h1>Step 2: Create User Accounts for This Tutorial</h1> <a name="BEGIN" id="BEGIN"></a> <p>Matthew and Winston both are sample employees in the <code>HR.EMPLOYEES</code> schema, which provides columns for the manager ID and e-mail address of the employees, among other information. You must create user accounts for these two employees so that they can later test the secure application role.</p> <p class="orderedlisttitle">To create the user accounts: </p> <ol> <li> <p>In Database Control, select the <span class="bold">Database Instance</span> link to display the Database Home page.</p> <p>If you are not logged in to Database Control, see <a href="topicid:ADMQS033">Accessing the Database Home Page</a> for instructions about how to start Database Control. In the Login page, enter an administrator user name (for example, <code>SYSTEM</code>) and password, and then click <span class="bold">Login</span>.</p> </li> <li> <p>Click <span class="bold">Server</span> to display the Server subpage.</p> </li> <li> <p>Under Security, select <span class="bold">Users</span>.</p> <p>The Users page appears.</p> </li> <li> <p>Click <img src="shortcut.png" alt="callback" border="0" /><a href="javascript:void(0);" onclick="redirectEMpage('USER_CREATE');"><span class="bold">Create</span></a>.</p> <p>The Create User page appears.</p> </li> <li> <p>Enter the following information:</p> <ul> <li> <p><span class="bold">Name</span>: <code>mweiss</code> (to create the user account for Matthew Weiss)</p> </li> <li> <p><span class="bold">Profile</span>: <code>DEFAULT</code></p> </li> <li> <p><span class="bold">Authentication</span>: <code>Password</code></p> </li> <li> <p><span class="bold">Enter Password</span> and <span class="bold">Confirm Password</span>: Enter a password that meets the requirements in <a href="tdpsg_user_accounts007.htm#BEICECGF">"Requirements for Creating Passwords"</a>.</p> </li> <li> <p><span class="bold">Default Tablespace</span>: <code>USERS</code></p> </li> <li> <p><span class="bold">Temporary Tablespace</span>: <code>TEMP</code></p> </li> <li> <p><span class="bold">Status</span>: <code>Unlocked</code></p> </li> </ul> </li> <li> <p>Click <span class="bold">System Privileges</span> to display the System Privileges subpage.</p> </li> <li> <p>Click <span class="bold">Edit List</span>.</p> <p>The Modify System Privileges page appears.</p> </li> <li> <p>In the Available System Privileges lists, select the <code>CREATE SESSION</code> privilege, and then click <span class="bold">Move</span> to move it to the Selected System Privileges list.</p> </li> <li> <p>Click <span class="bold">OK</span>.</p> <p>The Create User page appears, with <code>CREATE SESSION</code> listed as the system privilege for user <code>mweiss</code>.</p> </li> <li> <p>Ensure that the Admin Option for <code>CREATE SESSION</code> is not selected, and then click <span class="bold">OK</span>.</p> <p>The Users page appears.</p> </li> <li> <p>Select <span class="bold">MWEISS</span> from the list of users, and then from the <span class="bold">Actions</span> list, select <span class="bold">Create Like</span>. Then, click <span class="bold">Go</span>.</p> </li> <li> <p>In the Create User page, enter the following information to create the user account for Winston, which will be almost identical to the user account for Matthew:</p> <ul> <li> <p><span class="bold">Name</span>: <code>wtaylor</code></p> </li> <li> <p><span class="bold">Enter Password</span> and <span class="bold">Confirm Password</span>: Enter a password that meets the requirements in <a href="tdpsg_user_accounts007.htm#BEICECGF">"Requirements for Creating Passwords"</a>.</p> </li> </ul> </li> <li> <p>Click <span class="bold">OK</span>.</p> <p>You do not need to grant <code>wtaylor</code> the <code>CREATE SESSION</code> privilege, because the <span class="bold">Create Like</span> action has done of this for you.</p> </li> <li> <p>Exit Database Control.</p> </li> </ol> <p>Now both Matthew Weiss and Winston Taylor have user accounts that have identical privileges.</p> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdpsg_privileges006.htm#BABCDIBA">About Secure Application Roles</a></p> </div> </div> <!-- class="sect3" --> <!-- 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_privileges008.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpsg_privileges010.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