2007-10-07 19:46:16 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-10-11 19:44:43 +08:00
|
|
|
<!--
|
|
|
|
Copyright (c) 1991 , Julianne Frances Haugh
|
2011-11-07 02:37:51 +08:00
|
|
|
Copyright (c) 2007 - 2011, Nicolas François
|
2008-10-11 19:44:43 +08:00
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions
|
|
|
|
are met:
|
|
|
|
1. Redistributions of source code must retain the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
3. The name of the copyright holders or contributors may not be used to
|
|
|
|
endorse or promote products derived from this software without
|
|
|
|
specific prior written permission.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
-->
|
* man/login.defs.d/CONSOLE_GROUPS.xml,
man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
man/login.defs.d/FAIL_DELAY.xml,
man/login.defs.d/FAILLOG_ENAB.xml,
man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
man/login.defs.d/HUSHLOGIN_FILE.xml,
man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
man/login.defs.d/NOLOGINS_FILE.xml,
man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
man/login.defs.d/PASS_ALWAYS_WARN.xml,
man/login.defs.d/PASS_CHANGE_TRIES.xml,
man/login.defs.d/PASS_MAX_LEN.xml,
man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
man/login.defs.d/SYSLOG_SG_ENAB.xml,
man/login.defs.d/SYSLOG_SU_ENAB.xml,
man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
New documentation of login.defs variables.
* man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
MAIL_FILE documentation.
* man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
* man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
man/grpck.8.xml: Added CONFIGURATION section.
* man/generate_mans.mak: The generations of manpages depends on
the variables from the Makefiles. Add the dependency on Makefile.
* man/login.defs.5.xml: New login.defs variable documented.
* man/Makefile.am: Added XML variable documentation to the
distributed files.
2007-12-09 07:24:40 +08:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY MAX_MEMBERS_PER_GROUP SYSTEM "login.defs.d/MAX_MEMBERS_PER_GROUP.xml">
|
2011-07-09 03:49:09 +08:00
|
|
|
<!-- SHADOW-CONFIG-HERE -->
|
* man/login.defs.d/CONSOLE_GROUPS.xml,
man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
man/login.defs.d/FAIL_DELAY.xml,
man/login.defs.d/FAILLOG_ENAB.xml,
man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
man/login.defs.d/HUSHLOGIN_FILE.xml,
man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
man/login.defs.d/NOLOGINS_FILE.xml,
man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
man/login.defs.d/PASS_ALWAYS_WARN.xml,
man/login.defs.d/PASS_CHANGE_TRIES.xml,
man/login.defs.d/PASS_MAX_LEN.xml,
man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
man/login.defs.d/SYSLOG_SG_ENAB.xml,
man/login.defs.d/SYSLOG_SU_ENAB.xml,
man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
New documentation of login.defs variables.
* man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
MAIL_FILE documentation.
* man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
* man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
man/grpck.8.xml: Added CONFIGURATION section.
* man/generate_mans.mak: The generations of manpages depends on
the variables from the Makefiles. Add the dependency on Makefile.
* man/login.defs.5.xml: New login.defs variable documented.
* man/Makefile.am: Added XML variable documentation to the
distributed files.
2007-12-09 07:24:40 +08:00
|
|
|
]>
|
2007-10-07 19:46:16 +08:00
|
|
|
<refentry id='groupmod.8'>
|
2007-11-11 07:46:11 +08:00
|
|
|
<!-- $Id$ -->
|
2012-05-25 19:45:21 +08:00
|
|
|
<refentryinfo>
|
|
|
|
<author>
|
|
|
|
<firstname>Julianne Frances</firstname>
|
|
|
|
<surname>Haugh</surname>
|
|
|
|
<contrib>Creation, 1991</contrib>
|
|
|
|
</author>
|
|
|
|
<author>
|
|
|
|
<firstname>Thomas</firstname>
|
|
|
|
<surname>Kłoczko</surname>
|
|
|
|
<email>kloczek@pld.org.pl</email>
|
|
|
|
<contrib>shadow-utils maintainer, 2000 - 2007</contrib>
|
|
|
|
</author>
|
|
|
|
<author>
|
|
|
|
<firstname>Nicolas</firstname>
|
|
|
|
<surname>François</surname>
|
|
|
|
<email>nicolas.francois@centraliens.net</email>
|
|
|
|
<contrib>shadow-utils maintainer, 2007 - now</contrib>
|
|
|
|
</author>
|
|
|
|
</refentryinfo>
|
2007-10-07 19:46:16 +08:00
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>groupmod</refentrytitle>
|
|
|
|
<manvolnum>8</manvolnum>
|
2007-10-07 19:47:11 +08:00
|
|
|
<refmiscinfo class="sectdesc">System Management Commands</refmiscinfo>
|
2011-07-09 03:49:09 +08:00
|
|
|
<refmiscinfo class="source">shadow-utils</refmiscinfo>
|
|
|
|
<refmiscinfo class="version">&SHADOW_UTILS_VERSION;</refmiscinfo>
|
2007-10-07 19:46:16 +08:00
|
|
|
</refmeta>
|
|
|
|
<refnamediv id='name'>
|
|
|
|
<refname>groupmod</refname>
|
2007-10-07 19:47:57 +08:00
|
|
|
<refpurpose>modify a group definition on the system</refpurpose>
|
2007-10-07 19:46:16 +08:00
|
|
|
</refnamediv>
|
|
|
|
<!-- body begins here -->
|
|
|
|
<refsynopsisdiv id='synopsis'>
|
|
|
|
<cmdsynopsis>
|
2007-10-07 19:47:01 +08:00
|
|
|
<command>groupmod</command>
|
2007-10-07 19:46:16 +08:00
|
|
|
<arg choice='opt'>
|
2007-10-07 19:47:57 +08:00
|
|
|
<replaceable>options</replaceable>
|
2007-10-07 19:46:16 +08:00
|
|
|
</arg>
|
2007-10-07 19:47:57 +08:00
|
|
|
<arg choice='plain'><replaceable>GROUP</replaceable></arg>
|
2007-10-07 19:46:16 +08:00
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
2007-10-07 19:47:01 +08:00
|
|
|
|
2007-10-07 19:46:16 +08:00
|
|
|
<refsect1 id='description'>
|
|
|
|
<title>DESCRIPTION</title>
|
|
|
|
<para>
|
2007-10-07 22:36:51 +08:00
|
|
|
The <command>groupmod</command> command modifies the definition of the
|
|
|
|
specified <replaceable>GROUP</replaceable> by modifying the appropriate
|
|
|
|
entry in the group database.
|
2007-10-07 19:46:16 +08:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-10-07 19:47:01 +08:00
|
|
|
|
2007-10-07 19:46:16 +08:00
|
|
|
<refsect1 id='options'>
|
|
|
|
<title>OPTIONS</title>
|
|
|
|
<para>
|
|
|
|
The options which apply to the <command>groupmod</command> command
|
|
|
|
are:
|
|
|
|
</para>
|
|
|
|
<variablelist remap='IP'>
|
|
|
|
<varlistentry>
|
2020-08-10 05:44:30 +08:00
|
|
|
<term>
|
|
|
|
<option>-a</option>, <option>--append</option> <replaceable>GID</replaceable>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>If group members are specified with -U, append them to the existing
|
|
|
|
member list, rather than replacing it.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<term>
|
2013-08-23 05:54:34 +08:00
|
|
|
<option>-g</option>, <option>--gid</option> <replaceable>GID</replaceable>
|
2007-10-07 19:47:01 +08:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2007-10-07 22:36:51 +08:00
|
|
|
The group ID of the given <replaceable>GROUP</replaceable> will
|
2009-05-20 06:00:14 +08:00
|
|
|
be changed to <replaceable>GID</replaceable>.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The value of
|
2007-10-07 22:36:51 +08:00
|
|
|
<replaceable>GID</replaceable> must be a non-negative decimal
|
|
|
|
integer. This value must be unique, unless the
|
2011-11-19 22:33:53 +08:00
|
|
|
<option>-o</option> option is used.
|
2009-05-20 06:00:14 +08:00
|
|
|
</para>
|
2011-11-07 03:01:54 +08:00
|
|
|
<para>
|
|
|
|
Users who use the group as primary group will be updated to
|
|
|
|
keep the group as their primary group.
|
|
|
|
</para>
|
2009-05-20 06:00:14 +08:00
|
|
|
<para>
|
|
|
|
Any files that have the
|
2007-10-07 22:36:51 +08:00
|
|
|
old group ID and must continue to belong to
|
|
|
|
<replaceable>GROUP</replaceable>, must have their group ID
|
|
|
|
changed manually.
|
2007-10-07 19:47:01 +08:00
|
|
|
</para>
|
2011-11-19 22:33:53 +08:00
|
|
|
<para>
|
|
|
|
No checks will be performed with regard to the
|
|
|
|
<option>GID_MIN</option>, <option>GID_MAX</option>,
|
|
|
|
<option>SYS_GID_MIN</option>, or <option>SYS_GID_MAX</option>
|
|
|
|
from <filename>/etc/login.defs</filename>.
|
|
|
|
</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:16 +08:00
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2007-10-07 19:47:57 +08:00
|
|
|
<term><option>-h</option>, <option>--help</option></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Display help message and exit.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2013-08-23 05:54:34 +08:00
|
|
|
<option>-n</option>, <option>--new-name</option> <replaceable>NEW_GROUP</replaceable>
|
2007-10-07 19:47:57 +08:00
|
|
|
</term>
|
2007-10-07 19:47:01 +08:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2007-10-07 19:47:57 +08:00
|
|
|
The name of the group will be changed from <replaceable>GROUP</replaceable>
|
|
|
|
to <replaceable>NEW_GROUP</replaceable> name.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<option>-o</option>, <option>--non-unique</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2007-10-07 22:36:51 +08:00
|
|
|
When used with the <option>-g</option> option, allow to change the
|
|
|
|
group <replaceable>GID</replaceable> to a non-unique value.
|
2007-10-07 19:47:01 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2007-10-07 19:46:16 +08:00
|
|
|
</varlistentry>
|
2008-01-06 01:25:00 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2013-08-23 05:54:34 +08:00
|
|
|
<option>-p</option>, <option>--password</option> <replaceable>PASSWORD</replaceable>
|
2008-01-06 01:25:00 +08:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The encrypted password, as returned by <citerefentry>
|
|
|
|
<refentrytitle>crypt</refentrytitle><manvolnum>3</manvolnum>
|
2009-04-28 04:29:43 +08:00
|
|
|
</citerefentry>.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
<emphasis role="bold">Note:</emphasis> This option is not
|
|
|
|
recommended because the password (or encrypted password) will
|
|
|
|
be visible by users listing the processes.
|
2008-01-06 01:25:00 +08:00
|
|
|
</para>
|
2009-05-20 05:29:26 +08:00
|
|
|
<para>
|
|
|
|
You should make sure the password respects the system's
|
|
|
|
password policy.
|
|
|
|
</para>
|
2008-01-06 01:25:00 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2011-11-07 02:37:51 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2013-08-23 05:54:34 +08:00
|
|
|
<option>-R</option>, <option>--root</option> <replaceable>CHROOT_DIR</replaceable>
|
2011-11-07 02:37:51 +08:00
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Apply changes in the <replaceable>CHROOT_DIR</replaceable>
|
|
|
|
directory and use the configuration files from the
|
|
|
|
<replaceable>CHROOT_DIR</replaceable> directory.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2016-05-15 21:49:39 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<option>-P</option>, <option>--prefix</option> <replaceable>PREFIX_DIR</replaceable>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Apply changes in the <replaceable>PREFIX_DIR</replaceable>
|
|
|
|
directory and use the configuration files from the
|
|
|
|
<replaceable>PREFIX_DIR</replaceable> directory.
|
|
|
|
This option does not chroot and is intended for preparing
|
|
|
|
a cross-compilation target.
|
|
|
|
Some limitations: NIS and LDAP users/groups are not verified.
|
|
|
|
PAM authentication is using the host files.
|
|
|
|
No SELINUX support.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2020-08-10 05:44:30 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<option>-U</option>, <option>--users</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
A list of usernames to add as members of the group.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The default behavior (if the <option>-g</option>,
|
|
|
|
<option>-N</option>, and <option>-U</option> options are not
|
|
|
|
specified) is defined by the <option>USERGROUPS_ENAB</option>
|
|
|
|
variable in <filename>/etc/login.defs</filename>.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2007-10-07 19:46:16 +08:00
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
2007-10-07 19:47:01 +08:00
|
|
|
|
* man/login.defs.d/CONSOLE_GROUPS.xml,
man/login.defs.d/CONSOLE.xml, man/login.defs.d/DEFAULT_HOME.xml,
man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENVIRON_FILE.xml,
man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml,
man/login.defs.d/ENV_TZ.xml, man/login.defs.d/ERASECHAR.xml,
man/login.defs.d/FAIL_DELAY.xml,
man/login.defs.d/FAILLOG_ENAB.xml,
man/login.defs.d/FAKE_SHELL.xml, man/login.defs.d/FTMP_FILE.xml,
man/login.defs.d/HUSHLOGIN_FILE.xml,
man/login.defs.d/ISSUE_FILE.xml, man/login.defs.d/KILLCHAR.xml,
man/login.defs.d/LASTLOG_ENAB.xml, man/login.defs.d/LOGIN_RETRIES.xml,
man/login.defs.d/LOGIN_TIMEOUT.xml, man/login.defs.d/LOG_OK_LOGINS.xml,
man/login.defs.d/LOG_UNKFAIL_ENAB.xml,
man/login.defs.d/MAIL_CHECK_ENAB.xml, man/login.defs.d/MOTD_FILE.xml,
man/login.defs.d/NOLOGINS_FILE.xml,
man/login.defs.d/OBSCURE_CHECKS_ENAB.xml,
man/login.defs.d/PASS_ALWAYS_WARN.xml,
man/login.defs.d/PASS_CHANGE_TRIES.xml,
man/login.defs.d/PASS_MAX_LEN.xml,
man/login.defs.d/PORTTIME_CHECKS_ENAB.xml,
man/login.defs.d/QUOTAS_ENAB.xml, man/login.defs.d/SULOG_FILE.xml,
man/login.defs.d/SU_NAME.xml, man/login.defs.d/SU_WHEEL_ONLY.xml,
man/login.defs.d/SYSLOG_SG_ENAB.xml,
man/login.defs.d/SYSLOG_SU_ENAB.xml,
man/login.defs.d/TTYGROUP.xml, man/login.defs.d/TTYTYPE_FILE.xml,
man/login.defs.d/ULIMIT.xml, man/login.defs.d/USERGROUPS_ENAB.xml:
New documentation of login.defs variables.
* man/login.defs.d/MAIL_DIR.xml: Updated. It now contains the
MAIL_FILE documentation.
* man/login.defs.d/LOGIN_STRING.xml: Updated. Mentions %s.
* man/pwconv.8.xml, man/groupmems.8.xml, man/groupdel.8.xml,
man/useradd.8.xml, man/pwck.8.xml, man/groupadd.8.xml,
man/sulogin.8.xml, man/newgrp.1.xml, man/usermod.8.xml,
man/su.1.xml, man/vipw.8.xml, man/passwd.1.xml,
man/groupmod.8.xml, man/login.1.xml, man/userdel.8.xml,
man/grpck.8.xml: Added CONFIGURATION section.
* man/generate_mans.mak: The generations of manpages depends on
the variables from the Makefiles. Add the dependency on Makefile.
* man/login.defs.5.xml: New login.defs variable documented.
* man/Makefile.am: Added XML variable documentation to the
distributed files.
2007-12-09 07:24:40 +08:00
|
|
|
<refsect1 id='configuration'>
|
|
|
|
<title>CONFIGURATION</title>
|
|
|
|
<para>
|
|
|
|
The following configuration variables in
|
|
|
|
<filename>/etc/login.defs</filename> change the behavior of this
|
|
|
|
tool:
|
|
|
|
</para>
|
|
|
|
<variablelist>
|
|
|
|
&MAX_MEMBERS_PER_GROUP;
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
2007-10-07 19:46:16 +08:00
|
|
|
<refsect1 id='files'>
|
|
|
|
<title>FILES</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<term><filename>/etc/group</filename></term>
|
|
|
|
<listitem>
|
2007-10-07 19:47:33 +08:00
|
|
|
<para>Group account information.</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:16 +08:00
|
|
|
</varlistentry>
|
2008-05-20 06:18:14 +08:00
|
|
|
<varlistentry condition="gshadow">
|
2007-10-07 19:47:01 +08:00
|
|
|
<term><filename>/etc/gshadow</filename></term>
|
|
|
|
<listitem>
|
2007-10-07 19:47:33 +08:00
|
|
|
<para>Secure group account information.</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:16 +08:00
|
|
|
</varlistentry>
|
2011-11-19 22:33:53 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><filename>/etc/login.defs</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Shadow password suite configuration.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2011-11-07 03:01:54 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><filename>/etc/passwd</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>User account information.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2007-10-07 19:46:16 +08:00
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
2007-10-07 19:47:01 +08:00
|
|
|
|
2007-10-07 19:46:16 +08:00
|
|
|
<refsect1 id='exit_values'>
|
|
|
|
<title>EXIT VALUES</title>
|
2007-10-07 19:46:25 +08:00
|
|
|
<para>
|
|
|
|
The <command>groupmod</command> command exits with the following values:
|
|
|
|
<variablelist>
|
2007-10-07 19:47:01 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable>0</replaceable></term>
|
|
|
|
<listitem>
|
2017-06-18 22:23:01 +08:00
|
|
|
<para>E_SUCCESS: success</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable>2</replaceable></term>
|
|
|
|
<listitem>
|
2017-06-18 22:23:01 +08:00
|
|
|
<para>E_USAGE: invalid command syntax</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable>3</replaceable></term>
|
|
|
|
<listitem>
|
2017-06-18 22:23:01 +08:00
|
|
|
<para>E_BAD_ARG: invalid argument to option</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable>4</replaceable></term>
|
|
|
|
<listitem>
|
2021-02-02 18:19:58 +08:00
|
|
|
<para>E_GID_IN_USE: group id already in use</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable>6</replaceable></term>
|
|
|
|
<listitem>
|
2017-06-18 22:23:01 +08:00
|
|
|
<para>E_NOTFOUND: specified group doesn't exist</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable>9</replaceable></term>
|
|
|
|
<listitem>
|
2017-06-18 22:23:01 +08:00
|
|
|
<para>E_NAME_IN_USE: group name already in use</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable>10</replaceable></term>
|
|
|
|
<listitem>
|
2017-06-18 22:23:01 +08:00
|
|
|
<para>E_GRP_UPDATE: can't update group file</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
2018-01-24 06:10:19 +08:00
|
|
|
<varlistentry>
|
2017-06-18 22:17:01 +08:00
|
|
|
<term><replaceable>11</replaceable></term>
|
|
|
|
<listitem>
|
|
|
|
<para>E_CLEANUP_SERVICE: can't setup cleanup service</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2018-01-24 06:10:19 +08:00
|
|
|
<varlistentry>
|
2017-06-18 22:17:01 +08:00
|
|
|
<term><replaceable>12</replaceable></term>
|
|
|
|
<listitem>
|
|
|
|
<para>E_PAM_USERNAME: can't determine your username for use with pam</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2018-01-24 06:10:19 +08:00
|
|
|
<varlistentry>
|
2017-06-18 22:17:01 +08:00
|
|
|
<term><replaceable>13</replaceable></term>
|
|
|
|
<listitem>
|
|
|
|
<para>E_PAM_ERROR: pam returned an error, see syslog facility id groupmod for the PAM error message</para>
|
2007-10-07 19:47:01 +08:00
|
|
|
</listitem>
|
2007-10-07 19:46:25 +08:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
2007-10-07 19:46:16 +08:00
|
|
|
</refsect1>
|
2007-10-07 19:47:01 +08:00
|
|
|
|
2007-10-07 19:46:16 +08:00
|
|
|
<refsect1 id='see_also'>
|
|
|
|
<title>SEE ALSO</title>
|
2007-10-07 19:47:01 +08:00
|
|
|
<para>
|
|
|
|
<citerefentry>
|
|
|
|
<refentrytitle>chfn</refentrytitle><manvolnum>1</manvolnum>
|
2007-10-07 19:46:16 +08:00
|
|
|
</citerefentry>,
|
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>chsh</refentrytitle><manvolnum>1</manvolnum>
|
2007-10-07 19:46:16 +08:00
|
|
|
</citerefentry>,
|
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>passwd</refentrytitle><manvolnum>1</manvolnum>
|
2007-10-07 19:46:16 +08:00
|
|
|
</citerefentry>,
|
2007-10-07 19:46:34 +08:00
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>gpasswd</refentrytitle><manvolnum>8</manvolnum>
|
2007-10-07 19:46:34 +08:00
|
|
|
</citerefentry>,
|
2007-10-07 19:46:16 +08:00
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum>
|
2007-10-07 19:46:16 +08:00
|
|
|
</citerefentry>,
|
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>groupdel</refentrytitle><manvolnum>8</manvolnum>
|
2007-10-07 19:46:16 +08:00
|
|
|
</citerefentry>,
|
2011-11-19 22:33:53 +08:00
|
|
|
<citerefentry>
|
|
|
|
<refentrytitle>login.defs</refentrytitle><manvolnum>5</manvolnum>
|
|
|
|
</citerefentry>,
|
2007-10-07 19:46:16 +08:00
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>useradd</refentrytitle><manvolnum>8</manvolnum>
|
2007-10-07 19:46:16 +08:00
|
|
|
</citerefentry>,
|
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>userdel</refentrytitle><manvolnum>8</manvolnum>
|
2007-10-07 19:46:16 +08:00
|
|
|
</citerefentry>,
|
|
|
|
<citerefentry>
|
2007-10-07 19:47:01 +08:00
|
|
|
<refentrytitle>usermod</refentrytitle><manvolnum>8</manvolnum>
|
|
|
|
</citerefentry>.
|
2007-10-07 19:46:16 +08:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|