Sophie

Sophie

distrib > Fedora > 20 > i386 > by-pkgid > cbfc7b44b9c8d76021cd107c33b114e1 > files > 51

openlmi-scripts-account-0.3.0-1.fc20.noarch.rpm


<!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">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>LMI command line reference &mdash; OpenLMI Account Scripts 0.3.0 documentation</title>
    
    <link rel="stylesheet" href="_static/openlmi.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.3.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="OpenLMI Account Scripts 0.3.0 documentation" href="index.html" />
    <link rel="next" title="Python reference for OpenLMI client scripts" href="python.html" />
    <link rel="prev" title="OpenLMI Account Scripts documentation" href="index.html" /> 
  </head>
  <body>
    <div class="related">
        <!-- OpenLMI logo start -->
        <div class="logo">
          <a href="/" title="Home" id="logo">
          <img src="_static/openlmi-logo.png" alt="Home" class="logo">
          </a>
        </div>
        <div class="header">
             <h1 class="header"><a href="/" title="Home"> OpenLMI</a> </h1>
               <i>Configure, Manage and Monitor Linux Systems</i>
       </div>
        <!-- OpenLMI logo end -->
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="python.html" title="Python reference for OpenLMI client scripts"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="index.html" title="OpenLMI Account Scripts documentation"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">OpenLMI Account Scripts 0.3.0 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="lmi-command-line-reference">
<h1>LMI command line reference<a class="headerlink" href="#lmi-command-line-reference" title="Permalink to this headline">¶</a></h1>
<div class="section" id="user">
<h2>user<a class="headerlink" href="#user" title="Permalink to this headline">¶</a></h2>
<p>POSIX user information and management.</p>
<p><strong>Usage:</strong></p>
<blockquote>
<div><p><strong>lmi</strong> <strong>user</strong> list</p>
<p><strong>lmi</strong> <strong>user</strong> <strong>show</strong> [ <em>&lt;user&gt;</em> ...]</p>
<p><strong>lmi</strong> <strong>user</strong> <strong>create</strong> <em>&lt;name&gt;</em> [options]</p>
<p><strong>lmi</strong> <strong>user</strong> <strong>delete</strong> [<strong>--no-delete-home</strong>] [<strong>--no-delete-group</strong>] [<strong>--force</strong>] <em>&lt;user&gt;</em> ...</p>
</div></blockquote>
<p><strong>Commands:</strong></p>
<blockquote>
<div><dl class="docutils">
<dt><strong>list</strong></dt>
<dd>Prints a list of users.</dd>
<dt><strong>show</strong></dt>
<dd>Show detailed information about user. If no users are provided,
all of them are displayed.</dd>
<dt><strong>create</strong></dt>
<dd>Creates a new user. See Create options below for options
description.</dd>
<dt><strong>delete</strong></dt>
<dd>Delete specified user (or user list). See Delete options
below for options description.</dd>
</dl>
</div></blockquote>
<p><strong>Create options:</strong></p>
<blockquote>
<div><dl class="docutils">
<dt><strong>-c gecos, --gecos=gecos</strong></dt>
<dd>Set the GECOS field to gecos.</dd>
<dt><strong>-d dir, --directory=dir</strong></dt>
<dd>Set the user's home directory to dir.
If this option is not set, a default value
is used.</dd>
<dt><strong>-s shell, --shell=shell</strong></dt>
<dd>Set user's login shell to shell. If this
option is not set, a default value is used.</dd>
<dt><strong>-u uid, --uid=uid</strong></dt>
<dd>Use user ID uid for the newly created user.
If this option is not set, a default value
is used.</dd>
<dt><strong>-g gid, --gid=gid</strong></dt>
<dd>Set user's primary group ID to gid. If this
option is not set, a default value is used.</dd>
<dt><strong>-r, --reserved</strong></dt>
<dd>The user is a system user.
Implies the -M option.</dd>
<dt><strong>-M, --no-user-home</strong></dt>
<dd>Don't create a home directory.</dd>
<dt><strong>-n, --no-user-group</strong></dt>
<dd>Don't create a primary group for user.</dd>
<dt><strong>-p, --password=pwd</strong></dt>
<dd>Set user's password to 'pwd'.</dd>
<dt><strong>-P, --plain-password</strong></dt>
<dd>If set, the password set in '-p' parameter
is plain text. Otherwise, it is already
encrypted by supported hash algorithm.
See crypt(3).</dd>
</dl>
</div></blockquote>
<p><strong>Delete options:</strong></p>
<blockquote>
<div><dl class="docutils">
<dt><strong>--no-delete-home</strong></dt>
<dd>Do not remove home directory.</dd>
<dt><strong>--no-delete-group</strong></dt>
<dd>Do not remove users primary group.</dd>
<dt><strong>--force</strong></dt>
<dd>Remove home directory even if the user is not owner.</dd>
</dl>
</div></blockquote>
</div>
<div class="section" id="group">
<h2>group<a class="headerlink" href="#group" title="Permalink to this headline">¶</a></h2>
<p>POSIX group information and management.</p>
<p><strong>Usage:</strong></p>
<blockquote>
<div><p><strong>lmi</strong> <strong>group</strong> <strong>list</strong> [ <em>&lt;group&gt;</em> ...]</p>
<p><strong>lmi</strong> <strong>group</strong> <strong>create</strong> [<strong>--reserved</strong>] [<strong>--gid</strong>=gid] <em>&lt;group&gt;</em></p>
<p><strong>lmi</strong> <strong>group</strong> <strong>delete</strong> <em>&lt;group&gt;</em></p>
<p><strong>lmi</strong> <strong>group</strong> <strong>listuser</strong> [<em>&lt;group&gt;</em>] ...</p>
<p><strong>lmi</strong> <strong>group</strong> <strong>adduser</strong> <em>&lt;group&gt;</em> <em>&lt;user&gt;</em> ...</p>
<p><strong>lmi</strong> <strong>group</strong> <strong>removeuser</strong> <em>&lt;group&gt;</em> <em>&lt;user&gt;</em> ...</p>
</div></blockquote>
<p><strong>Commands:</strong></p>
<blockquote>
<div><dl class="docutils">
<dt><strong>list</strong></dt>
<dd>List groups. If no groups are given, all are listed.</dd>
<dt><strong>create</strong></dt>
<dd>Creates a new group.</dd>
<dt><strong>delete</strong></dt>
<dd>Deletes a group.</dd>
<dt><strong>listuser</strong></dt>
<dd>List a users in a group or in a list of groups.</dd>
<dt><strong>adduser</strong></dt>
<dd>Adds a user or a list of users to the group.</dd>
<dt><strong>removeuser</strong></dt>
<dd>Removes a user or a list of users from the group.</dd>
</dl>
</div></blockquote>
<p><strong>Options:</strong></p>
<blockquote>
<div><dl class="docutils">
<dt><strong>-r, --reserved</strong></dt>
<dd>Create a system group.</dd>
<dt><strong>-g, --gid=gid</strong></dt>
<dd>GID for a new group.</dd>
</dl>
</div></blockquote>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">LMI command line reference</a><ul>
<li><a class="reference internal" href="#user">user</a></li>
<li><a class="reference internal" href="#group">group</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="index.html"
                        title="previous chapter">OpenLMI Account Scripts documentation</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="python.html"
                        title="next chapter">Python reference for OpenLMI client scripts</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/cmdline.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
        &copy; Copyright 2014, Red Hat, Inc..
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>