man-pages/fr/man8/groupdel.8.html
2021-03-31 01:06:50 +01:00

216 lines
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GROUPDEL</TITLE>
</HEAD><BODY>
<H1>GROUPDEL</H1>
Section: Commandes de gestion du syst&egrave;m (8)<BR>Updated: 28/05/2020<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NOM</H2>
groupdel - Supprimer un groupe
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<DL COMPACT>
<DT id="1">
<B>groupdel</B> [<I>options</I>] <I>GROUPE</I>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<DD>The
<B>groupdel</B>
command modifies the system account files, deleting all entries that refer to
<I>GROUP</I>. The named group must exist.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
The options which apply to the
<B>groupdel</B>
command are:
<P>
<B>-h</B>, <B>--help</B>
<DL COMPACT><DT id="2"><DD>
Afficher un message d'aide et quitter.
</DL>
<P>
<B>-R</B>, <B>--root</B>&nbsp;<I>CHROOT_DIR</I>
<DL COMPACT><DT id="3"><DD>
Apply changes in the
<I>CHROOT_DIR</I>
directory and use the configuration files from the
<I>CHROOT_DIR</I>
directory.
</DL>
<P>
<B>-P</B>, <B>--prefix</B>&nbsp;<I>PREFIX_DIR</I>
<DL COMPACT><DT id="4"><DD>
Apply changes in the
<I>PREFIX_DIR</I>
directory and use the configuration files from the
<I>PREFIX_DIR</I>
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.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>AVERTISSEMENTS</H2>
<P>
Vous ne pouvez pas supprimer le groupe primaire d'un utilisateur existant. Vous devez supprimer l'utilisateur auparavant.
<P>
Vous devriez v&eacute;rifier vous-m&ecirc;me qu'aucun fichier poss&eacute;d&eacute; par le groupe ne subsiste sur tous les syst&egrave;mes de fichiers.
<A NAME="lbAG">&nbsp;</A>
<H2>CONFIGURATION</H2>
<P>
The following configuration variables in
/etc/login.defs
change the behavior of this tool:
<P>
<B>MAX_MEMBERS_PER_GROUP</B> (number)
<DL COMPACT><DT id="5"><DD>
Maximum members per group entry. When the maximum is reached, a new group entry (line) is started in
/etc/group
(with the same name, same password, and same GID).
<P>
La valeur par d&eacute;faut est 0, ce qui signifie qu'il n'y a pas de limites pour le nombre de membres dans un groupe.
<P>
Cette fonctionnalit&eacute; (groupe d&eacute;coup&eacute;) permet de limiter la longueur des lignes dans le fichier de groupes. Ceci est utile pour s'assurer que les lignes pour les groupes NIS ne sont pas plus grandes que 1024 caract&egrave;res.
<P>
Si vous avez besoin de configurer cette limite, vous pouvez utiliser 25.
<P>
Remarque&nbsp;: les groupes d&eacute;coup&eacute;s ne sont peut-&ecirc;tre pas pris en charge par tous les outils (m&ecirc;me dans la suite d'outils Shadow). Vous ne devriez pas utiliser cette variable, sauf si vous en avez vraiment besoin.
</DL>
<A NAME="lbAH">&nbsp;</A>
<H2>FICHIERS</H2>
<P>
/etc/group
<DL COMPACT><DT id="6"><DD>
Informations sur les groupes.
</DL>
<P>
/etc/gshadow
<DL COMPACT><DT id="7"><DD>
Informations s&eacute;curis&eacute;es sur les groupes.
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>VALEURS DE RETOUR</H2>
<P>
The
<B>groupdel</B>
command exits with the following values:
<P>
<I>0</I>
<DL COMPACT><DT id="8"><DD>
success
</DL>
<P>
<I>2</I>
<DL COMPACT><DT id="9"><DD>
invalid command syntax
</DL>
<P>
<I>6</I>
<DL COMPACT><DT id="10"><DD>
specified group doesn't exist
</DL>
<P>
<I>8</I>
<DL COMPACT><DT id="11"><DD>
can't remove user's primary group
</DL>
<P>
<I>10</I>
<DL COMPACT><DT id="12"><DD>
can't update group file
</DL>
<A NAME="lbAJ">&nbsp;</A>
<H2>VOIR AUSSI</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+chfn">chfn</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+chsh">chsh</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+passwd">passwd</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?8+gpasswd">gpasswd</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+groupadd">groupadd</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+groupmod">groupmod</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+useradd">useradd</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+userdel">userdel</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+usermod">usermod</A></B>(8).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="13"><A HREF="#lbAB">NOM</A><DD>
<DT id="14"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="15"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="16"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="17"><A HREF="#lbAF">AVERTISSEMENTS</A><DD>
<DT id="18"><A HREF="#lbAG">CONFIGURATION</A><DD>
<DT id="19"><A HREF="#lbAH">FICHIERS</A><DD>
<DT id="20"><A HREF="#lbAI">VALEURS DE RETOUR</A><DD>
<DT id="21"><A HREF="#lbAJ">VOIR AUSSI</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:03 GMT, March 31, 2021
</BODY>
</HTML>