Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdprc\preparing004.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>Configuring Operating System Users and Groups</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1 Build 135" /> <meta name="date" content="2009-06-04T14:31:50Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Configuring Operating System Users and Groups" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10743-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="preparing003.htm" title="Previous" type="text/html" /> <link rel="next" href="tdprc_config_secure_shell.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="preparing003.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdprc_config_secure_shell.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BCGFEGIF" name="BCGFEGIF"></a><a id="TDPRC131" name="TDPRC131"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1>Configuring Operating System Users and Groups</h1> <a name="BEGIN" id="BEGIN"></a> <p>In this guide, a single software owner will be used for all installations, named <code>oracle</code>. The <code>oracle</code> user will belong to the <code>oinstall</code> and <code>dba</code> operating system groups.</p> <a id="TDPRC132" name="TDPRC132"></a> <p class="subhead2">To create one software owner with all operating system-authenticated administration privileges:</p> <ol> <li> <p>Determine the groups that already exist on your server by listing the contents of the <code>/etc/group</code> file.</p> <pre xml:space="preserve" class="oac_no_warn"> cat /etc/group </pre></li> <li> <p>If this is the first time Oracle software has been installed on your server, and the Oracle Inventory group does not exist, then create the Oracle Inventory group (<code>oinstall</code>) with a group ID that is currently not in use on all the nodes in your cluster. Enter a command as the <code>root</code> user that is similar to the following:</p> <pre xml:space="preserve" class="oac_no_warn"> # /usr/sbin/groupadd -g 1000 oinstall </pre></li> <li> <p>Create an OSDBA (<code>dba</code>) group with a group ID that is currently not in use on all the nodes in your cluster by entering a command as the <code>root</code> user that is similar to the following:</p> <pre xml:space="preserve" class="oac_no_warn"> # /usr/sbin/groupadd -g 1001 dba </pre></li> <li> <p><a id="sthref91" name="sthref91"></a>If the user that owns the Oracle software (<code>oracle</code>) does not exist on your server, you must create the user. Select a user ID (UID) that is currently not in use on all the nodes in your cluster. To determine which users have already been created on your server, list the contents of the <code>/etc/passwd</code> file using the command:</p> <pre xml:space="preserve" class="oac_no_warn"> cat /etc/passwd </pre> <p>The following command shows how to create the <code>oracle</code> user and the user's home directory (<code>/home/oracle</code>) with the default group as <code>oinstall</code> and the secondary group as <code>dba</code>, using a UID of 1100:</p> <pre xml:space="preserve" class="oac_no_warn"> # useradd -u 1100 –g oinstall -G dba -d /home/oracle -r oracle </pre></li> <li> <p>Set the password for the <code>oracle</code> account using the following command. Replace <code><span class="codeinlineitalic">password</span></code> with your own password.</p> <pre xml:space="preserve" class="oac_no_warn"> passwd oracle Changing password for user oracle. New UNIX password: <span class="italic">password</span> retype new UNIX password: <span class="italic">password</span> passwd: all authentication tokens updated successfully. </pre></li> <li> <p>Repeat Step 1 through Step 5 on each node in your cluster.</p> </li> <li> <p>Verify that the attributes of the user <code>oracle</code> are identical on each node of your cluster:</p> <pre xml:space="preserve" class="oac_no_warn"> id oracle </pre> <p>The command output should be similar to the following:</p> <pre xml:space="preserve" class="oac_no_warn"> uid=1100(oracle) gid=1000(oinstall) groups=1000(oinstall),1001(dba) </pre></li> </ol> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdprc_config_dirs_storage.htm#CEGFBCDG">Configuring Installation Directories and Shared Storage</a></p> <p><a href="tdprc_about_asm.htm#BHCEEHFD">About Automatic Storage Management</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="preparing003.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdprc_config_secure_shell.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