Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 275bc5f884d593fea8c87799d871d7f1 > files > 444

mandriva-doc-Mastering-Manual-en-2008.1-0.4mdv2008.1.noarch.rpm

<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
      <title>6.&nbsp;Managing Users and Groups</title>
      <link rel="stylesheet" href="images/mdk-doc.css" type="text/css">
      <meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
      <meta name="description" content="users management applications UserDrake UserDrake UserDrake allows system administrators to easily add and remove users from the system, to assign users to a group, and to manage user groups in the same manner.">
      <link rel="start" href="index.html" title="Mastering Mandriva Linux">
      <link rel="up" href="mcc-system.html" title="Chapter&nbsp;11.&nbsp;Personalizing your System">
      <link rel="prev" href="drakconsole.html" title="5.&nbsp;Access to the Console">
      <link rel="next" href="drakbackup.html" title="7.&nbsp;Backing Up and Restoring your Files">
   </head>
   <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
      <div class="navheader">
         <table width="100%" summary="Navigation header">
            <tr>
               <th colspan="3" align="center">6.&nbsp;Managing Users and
                      Groups
               </th>
            </tr>
            <tr>
               <td width="20%" align="left"><a accesskey="p" href="drakconsole.html">Prev</a>&nbsp;
               </td>
               <th width="60%" align="center">Chapter&nbsp;11.&nbsp;Personalizing your System</th>
               <td width="20%" align="right">&nbsp;<a accesskey="n" href="drakbackup.html">Next</a></td>
            </tr>
         </table>
         <hr>
      </div>
      <div class="section" lang="en">
         <div class="titlepage">
            <div>
               <div>
                  <h2 class="title" style="clear: both"><a name="userdrake"></a>6.&nbsp;Managing Users and
                         Groups
                  </h2>
               </div>
               <div>
                  <div class="abstract">
                     <p class="title"><b>Abstract</b></p>
                           
                     <p><a name="BId-userdrake-pa1"></a><a class="indexterm" name="BId-userdrake-it1"></a> <a class="indexterm" name="BId-userdrake-it2"></a> <a class="indexterm" name="BId-userdrake-it3"></a> <span class="application">UserDrake</span> allows system
                              administrators to easily add and remove users from the system, to assign
                              users to a group, and to manage user groups in the same manner.
                     </p>
                         
                  </div>
               </div>
            </div>
         </div>
           
         
           
         
           
         <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Note">
               <tr>
                  <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td>
                  <th align="left">Note</th>
               </tr>
               <tr>
                  <td align="left" valign="top">
                         
                     <p><a name="BId-userdrake-pa2"></a>In this section we will only
                            focus on user management. Group management being similar.
                     </p>
                       
                  </td>
               </tr>
            </table>
         </div>
         
           
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="d5e7623"></a>6.1.&nbsp;The Interface
                     </h3>
                  </div>
               </div>
            </div>
                
            
                
            <p><a name="BId-userdrake-pa3"></a>Launching
                   <span class="application">UserDrake</span> will display the main window (<a class="xref" href="userdrake.html#userdrake-main" title="Figure&nbsp;11.8.&nbsp;The User List in UserDrake">Figure&nbsp;11.8, &#8220;The User List in
                          UserDrake&#8221;</a>) which lists the users currently defined on
                   the system. You can switch from users to groups by clicking on the
                   <span class="guilabel">Groups</span> tab next to the <span class="guilabel">Users</span>
                   tab.
            </p>
            
                
            <div class="figure"><a name="userdrake-main"></a><p class="title"><b>Figure&nbsp;11.8.&nbsp;The User List in
                             UserDrake</b></p>
               <div class="figure-contents">
                        
                  
                        
                  <div class="mediaobject" align="center"><img src="images/userdrake-main.png" align="middle" alt="The User List in UserDrake"></div>
                      
               </div>
            </div><br class="figure-break">
            
                
            <p><a name="BId-userdrake-pa5"></a>All changes have immediate
                   effect on your local user database. If the user list is modified outside
                   of <span class="application">UserDrake</span>, you can refresh
                   <span class="application">UserDrake</span>'s window by clicking on the
                   <span class="guibutton">Refresh</span> button.
            </p>
            
                
            <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
               <table border="0" summary="Note">
                  <tr>
                     <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td>
                     <th align="left">Note</th>
                  </tr>
                  <tr>
                     <td align="left" valign="top">
                              
                        
                              
                        <p><a name="BId-userdrake-pa9"></a>If you make changes to an
                                 already logged in user, those changes won't take effect until the next
                                 time that user logs in again.
                        </p>
                            
                     </td>
                  </tr>
               </table>
            </div>
            
                
            <p><a name="BId-userdrake-pa10"></a>Available actions are:
            </p>
            
                
            <div class="variablelist">
               <dl>
                  <dt><span class="term"><a name="BId-userdrake-te1"></a><span class="guibutton">Add
                                   User</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa11"></a>Adds a new user to the system. We
                                  detail this procedure in <a class="xref" href="userdrake.html#userdrake-useradd" title="6.2.&nbsp;Adding a New User">Section&nbsp;6.2, &#8220;Adding a New User&#8221;</a>.
                     </p>
                             
                  </dd>
                  <dt><span class="term"><a name="BId-userdrake-te2"></a><span class="guibutton">Add
                                   Group</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa12"></a>Adds a new user group to the
                                  system.
                     </p>
                             
                  </dd>
                  <dt><span class="term"><a name="BId-userdrake-te3"></a><span class="guibutton">Edit</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa13"></a>Allows you to change
                                  the parameters of the selected user or group. We detail editing user
                                  parameters in <a class="xref" href="userdrake.html#userdrake-useradd" title="6.2.&nbsp;Adding a New User">Section&nbsp;6.2, &#8220;Adding a New User&#8221;</a>. In the case of a
                                  group you will be able to assign or remove users from that
                                  group.
                     </p>
                             
                  </dd>
                  <dt><span class="term"><a name="BId-userdrake-te4"></a><span class="guibutton">Delete</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa14"></a>Removes the selected
                                  user or group from the system. A confirmation dialog will be shown,
                                  and in the case of a user you will also be able to remove the user's
                                  <code class="filename">/home</code> directory and
                                  <code class="literal">mailbox</code>.
                     </p>
                             
                  </dd>
               </dl>
            </div>
              
         </div>
         
           
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="userdrake-useradd"></a>6.2.&nbsp;Adding a New User
                     </h3>
                  </div>
               </div>
            </div>
                
            
                <a class="indexterm" name="BId-userdrake-it4"></a>
            
                
            <p><a name="BId-userdrake-pa6"></a>We created the
                   non-privileged user Queen Pingusa at installation time, and now we want to
                   create a new user called <a class="indexterm" name="BId-userdrake-it5"></a> Peter Pingus. Then we want to make them both members of the
                   <code class="literal">fileshare</code> group, so that they can share folders with
                   other users on the network .
            </p>
            
                
            <p><a name="BId-userdrake-pa7"></a>Click on the <span class="guibutton">Add
                      User</span> button, a dialog box to add a new user will pop up (see
                   <a class="xref" href="userdrake.html#userdrake-add" title="Figure&nbsp;11.9.&nbsp;Adding a New User in the System">Figure&nbsp;11.9, &#8220;Adding a New User in the
                          System&#8221;</a>). The only required field is
                   <span class="guilabel">Login</span> although we strongly recommend that you set up
                   a password for this new user: enter it in both the
                   <span class="guilabel">Password</span> and <span class="guilabel">Confirm Password</span>
                   fields. You can also choose to add a comment in <span class="guilabel">Full
                      Name</span>. Generally, this is the full name of the user, but you can
                   put whatever you want. Once you accept your settings you are asked if you wish to
                   run the <span class="application">Windows<sup>&reg;</sup></span>
                   data migration wizard, please refer to <a class="xref" href="transfugdrake.html" title="8.&nbsp;Import Windows&reg; Settings and Documents">Section&nbsp;8, &#8220;Import Windows<sup>&reg;</sup> Settings and
                      Documents&#8221;</a>
                   for more information.
            </p>
            
                
            <div class="figure"><a name="userdrake-add"></a><p class="title"><b>Figure&nbsp;11.9.&nbsp;Adding a New User in the
                             System</b></p>
               <div class="figure-contents">
                        
                  
                        
                  <div class="mediaobject" align="center"><img src="images/userdrake-add.png" align="middle" alt="Adding a New User in the System"></div>
                      
               </div>
            </div><br class="figure-break">
            
                
            <p><a name="BId-userdrake-pa8"></a><a class="indexterm" name="BId-userdrake-it6"></a> We now have two users in our list. Select one of them with
                   your mouse, and click on the <span class="guibutton">Edit</span> button. The
                   dialog box shown in <a class="xref" href="userdrake.html#userdrake-group-apply" title="Figure&nbsp;11.10.&nbsp;Adding Users to a Group">Figure&nbsp;11.10, &#8220;Adding Users to a Group&#8221;</a> pops up. It
                   allows you to modify most available user parameters.
            </p>
            
                
            <div class="figure"><a name="userdrake-group-apply"></a><p class="title"><b>Figure&nbsp;11.10.&nbsp;Adding Users to a Group</b></p>
               <div class="figure-contents">
                        
                  
                        
                  <div class="mediaobject" align="center"><img src="images/userdrake-group-apply.png" align="middle" alt="Adding Users to a Group"></div>
                      
               </div>
            </div><br class="figure-break">
            
                
            <p><a name="BId-userdrake-pa15"></a>The dialog is made of the
                   following tabs:
            </p>
            
                
            <div class="variablelist">
               <dl>
                  <dt><span class="term"><a name="BId-userdrake-te5"></a><span class="guilabel">User Data</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa16"></a>Allows you to modify information
                                  provided when the user was created.
                     </p>
                             
                  </dd>
                  <dt><span class="term"><a name="BId-userdrake-te6"></a><span class="guilabel">Account
                                   Info</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa17"></a>Enables you to
                                  provide an expiration date for that account, after which the user
                                  won't be able to connect to the system. This is useful for temporary
                                  accounts. It's also possible to temporarily lock an account to
                                  prevent a user from logging in. Finally, this tab allows you to
                                  change the icon associated with the user.
                     </p>
                             
                  </dd>
                  <dt><span class="term"><a name="BId-userdrake-te7"></a><span class="guilabel">Password
                                   Info</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa18"></a>Allows you to provide
                                  a password expiration date, after which the user will be required to
                                  change his password.
                     </p>
                             
                  </dd>
                  <dt><span class="term"><a name="BId-userdrake-te8"></a><span class="guilabel">Groups</span></span></dt>
                  <dd>
                               
                     <p><a name="BId-userdrake-pa19"></a>Shows the list of available groups
                                  where you can select the groups to which any user should
                                  belong.
                     </p>
                             
                  </dd>
               </dl>
            </div>
            
                
            <p><a name="BId-userdrake-pa20"></a>For our users we only need
                   to look for the <code class="literal">fileshare</code> entry and check the box
                   associated to it. Then click on the <span class="guibutton">OK</span> button to
                   make the changes effective.
            </p>
              
         </div>
         
      </div>
      <div class="navfooter">
         <hr>
         <table width="100%" summary="Navigation footer">
            <tr>
               <td width="40%" align="left"><a accesskey="p" href="drakconsole.html">Prev</a>&nbsp;
               </td>
               <td width="20%" align="center"><a accesskey="u" href="mcc-system.html">Up</a></td>
               <td width="40%" align="right">&nbsp;<a accesskey="n" href="drakbackup.html">Next</a></td>
            </tr>
            <tr>
               <td width="40%" align="left" valign="top">5.&nbsp;Access to the Console&nbsp;</td>
               <td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
               <td width="40%" align="right" valign="top">&nbsp;7.&nbsp;Backing Up and Restoring
                      your Files
               </td>
            </tr>
         </table>
      </div>
   </body>
</html>