man-pages/de/man1/gpasswd.1.html
2021-03-31 01:06:50 +01:00

320 lines
8.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GPASSWD</TITLE>
</HEAD><BODY>
<H1>GPASSWD</H1>
Section: Dienstprogramme f&uuml;r Benutzer (1)<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>NAME</H2>
gpasswd - administer /etc/group and /etc/gshadow
<A NAME="lbAC">&nbsp;</A>
<H2>&Uuml;BERSICHT</H2>
<DL COMPACT>
<DT id="1">
<B>gpasswd</B> [<I>Option</I>] <I>Gruppe</I>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>BESCHREIBUNG</H2>
<P>
<DD>The
<B>gpasswd</B>
command is used to administer
/etc/group, and /etc/gshadow. Every group can have
administrators,
members and a password.
<P>
System administrators can use the
<B>-A</B>
option to define group administrator(s) and the
<B>-M</B>
option to define members. They have all rights of group administrators and members.
<P>
<B>gpasswd</B>
called by
a group administrator
with a group name only prompts for the new password of the
<I>group</I>.
<P>
If a password is set the members can still use
<B><A HREF="/cgi-bin/man/man2html?1+newgrp">newgrp</A></B>(1)
without a password, and non-members must supply the password.
<A NAME="lbAE">&nbsp;</A>
<H3>Hinweise zu Gruppenpassw&ouml;rtern</H3>
<P>
Gruppenpassw&ouml;rter beinhalten ein Sicherheitsrisiko, da mehrere Personen das Passwort kennen. Dennoch k&ouml;nnen sie sinnvoll sein, um die Zusammenarbeit zwischen Benutzern zu erleichtern.
<A NAME="lbAF">&nbsp;</A>
<H2>OPTIONEN</H2>
<P>
Except for the
<B>-A</B>
and
<B>-M</B>
options, the options cannot be combined.
<P>
The options which apply to the
<B>gpasswd</B>
command are:
<P>
<B>-a</B>, <B>--add</B>&nbsp;<I>user</I>
<DL COMPACT><DT id="2"><DD>
Add the
<I>user</I>
to the named
<I>group</I>.
</DL>
<P>
<B>-d</B>, <B>--delete</B>&nbsp;<I>user</I>
<DL COMPACT><DT id="3"><DD>
Remove the
<I>user</I>
from the named
<I>group</I>.
</DL>
<P>
<B>-h</B>, <B>--help</B>
<DL COMPACT><DT id="4"><DD>
zeigt die Hilfe an und beendet das Programm
</DL>
<P>
<B>-Q</B>, <B>--root</B>&nbsp;<I>CHROOT_DIR</I>
<DL COMPACT><DT id="5"><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>-r</B>, <B>--remove-password</B>
<DL COMPACT><DT id="6"><DD>
Remove the password from the named
<I>group</I>. The group password will be empty. Only group members will be allowed to use
<B>newgrp</B>
to join the named
<I>group</I>.
</DL>
<P>
<B>-R</B>, <B>--restrict</B>
<DL COMPACT><DT id="7"><DD>
Restrict the access to the named
<I>group</I>. The group password is set to &quot;!&quot;. Only group members with a password will be allowed to use
<B>newgrp</B>
to join the named
<I>group</I>.
</DL>
<P>
<B>-A</B>, <B>--administrators</B>&nbsp;<I>user</I>,...
<DL COMPACT><DT id="8"><DD>
Liste der Gruppenverwalter bestimmen
</DL>
<P>
<B>-M</B>, <B>--members</B>&nbsp;<I>user</I>,...
<DL COMPACT><DT id="9"><DD>
Liste der Mitglieder der Gruppe bestimmen
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>WARNUNGEN</H2>
<P>
This tool only operates on the
/etc/group
and /etc/gshadow files.
Thus you cannot change any NIS or LDAP group. This must be performed on the corresponding server.
<A NAME="lbAH">&nbsp;</A>
<H2>KONFIGURATION</H2>
<P>
The following configuration variables in
/etc/login.defs
change the behavior of this tool:
<P>
<B>ENCRYPT_METHOD</B> (string)
<DL COMPACT><DT id="10"><DD>
Damit wird der standardm&auml;&szlig;ige Verschl&uuml;sselungsalgorithmus, mit dem Passw&ouml;rter verschl&uuml;sselt werden, bestimmt (soweit nicht in der Befehlszeile ein Algorithmus angegeben wird).
<P>
It can take one of these values:
<I>DES</I>
(default),
<I>MD5</I>, <I>SHA256</I>, <I>SHA512</I>.
<P>
Note: this parameter overrides the
<B>MD5_CRYPT_ENAB</B>
variable.
<P>
Hinweis: Damit wird lediglich die Erstellung von Gruppenpassw&ouml;rtern beeinflusst. Benutzerpassw&ouml;rter werden dagegen von PAM erstellt, so dass dieser Vorgang in PAM konfiguriert werden muss. Empfehlenswert ist, diese Variable mit der Konfiguration von PAM in Einklang zu bringen.
</DL>
<P>
<B>MAX_MEMBERS_PER_GROUP</B> (number)
<DL COMPACT><DT id="11"><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>
Der Standardwert ist 0, was zur Folge hat, dass die Anzahl der Mitglieder einer Gruppe nicht begrenzt ist.
<P>
Diese F&auml;higkeit (der aufgeteilten Gruppe) erm&ouml;glicht es, die Zeilenl&auml;nge in der Gruppendatei zu begrenzen. Damit kann sichergestellt werden, dass die Zeilen f&uuml;r NIS-Gruppen nicht l&auml;nger als 1024 Zeichen sind.
<P>
Falls Sie eine solche Begrenzung ben&ouml;tigen, k&ouml;nnen Sie 25 verwenden.
<P>
Hinweis: Aufgeteilte Gruppen werden m&ouml;glicherweise nicht von allen Werkzeugen unterst&uuml;tzt, selbst nicht aus der Shadow-Werkzeugsammlung. Sie sollten diese Variable nur setzen, falls Sie zwingend darauf angewiesen sind.
</DL>
<P>
<B>MD5_CRYPT_ENAB</B> (boolean)
<DL COMPACT><DT id="12"><DD>
Indicate if passwords must be encrypted using the MD5-based algorithm. If set to
<I>yes</I>, new passwords will be encrypted using the MD5-based algorithm compatible with the one used by recent releases of FreeBSD. It supports passwords of unlimited length and longer salt strings. Set to
<I>no</I>
if you need to copy encrypted passwords to other systems which don't understand the new algorithm. Default is
<I>no</I>.
<P>
This variable is superseded by the
<B>ENCRYPT_METHOD</B>
variable or by any command line option used to configure the encryption algorithm.
<P>
This variable is deprecated. You should use
<B>ENCRYPT_METHOD</B>.
<P>
Hinweis: Damit wird lediglich die Erstellung von Gruppenpassw&ouml;rtern beeinflusst. Benutzerpassw&ouml;rter werden dagegen von PAM erstellt, so dass dieser Vorgang in PAM konfiguriert werden muss. Empfehlenswert ist, diese Variable mit der Konfiguration von PAM in Einklang zu bringen.
</DL>
<P>
<B>SHA_CRYPT_MIN_ROUNDS</B> (number), <B>SHA_CRYPT_MAX_ROUNDS</B> (number)
<DL COMPACT><DT id="13"><DD>
When
<B>ENCRYPT_METHOD</B>
is set to
<I>SHA256</I>
or
<I>SHA512</I>, this defines the number of SHA rounds used by the encryption algorithm by default (when the number of rounds is not specified on the command line).
<P>
Je mehr Runden Sie definieren, umso schwieriger ist es, das Passwort mit sturem Durchprobieren (brute force) zu knacken; umso mehr Rechenleistung wird jedoch auch f&uuml;r die Anmeldung eines Benutzers ben&ouml;tigt.
<P>
Falls Sie nichts angeben, wird libc die Standardanzahl der Runden festlegen (5000).
<P>
Die Werte m&uuml;ssen zwischen 1000-999.999.999 liegen.
<P>
If only one of the
<B>SHA_CRYPT_MIN_ROUNDS</B>
or
<B>SHA_CRYPT_MAX_ROUNDS</B>
values is set, then this value will be used.
<P>
If
<B>SHA_CRYPT_MIN_ROUNDS</B>
&gt;
<B>SHA_CRYPT_MAX_ROUNDS</B>, the highest value will be used.
<P>
Hinweis: Damit wird lediglich die Erstellung von Gruppenpassw&ouml;rtern beeinflusst. Benutzerpassw&ouml;rter werden dagegen von PAM erstellt, so dass dieser Vorgang in PAM konfiguriert werden muss. Empfehlenswert ist, diese Variable mit der Konfiguration von PAM in Einklang zu bringen.
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>DATEIEN</H2>
<P>
/etc/group
<DL COMPACT><DT id="14"><DD>
Informationen zu den Gruppenkonten
</DL>
<P>
/etc/gshadow
<DL COMPACT><DT id="15"><DD>
sichere Informationen zu den Gruppenkonten
</DL>
<A NAME="lbAJ">&nbsp;</A>
<H2>SIEHE AUCH</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+newgrp">newgrp</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?8+groupadd">groupadd</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+groupdel">groupdel</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+groupmod">groupmod</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+grpck">grpck</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?5+group">group</A></B>(5), <B><A HREF="/cgi-bin/man/man2html?5+gshadow">gshadow</A></B>(5).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="16"><A HREF="#lbAB">NAME</A><DD>
<DT id="17"><A HREF="#lbAC">&Uuml;BERSICHT</A><DD>
<DT id="18"><A HREF="#lbAD">BESCHREIBUNG</A><DD>
<DL>
<DT id="19"><A HREF="#lbAE">Hinweise zu Gruppenpassw&ouml;rtern</A><DD>
</DL>
<DT id="20"><A HREF="#lbAF">OPTIONEN</A><DD>
<DT id="21"><A HREF="#lbAG">WARNUNGEN</A><DD>
<DT id="22"><A HREF="#lbAH">KONFIGURATION</A><DD>
<DT id="23"><A HREF="#lbAI">DATEIEN</A><DD>
<DT id="24"><A HREF="#lbAJ">SIEHE AUCH</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:04:56 GMT, March 31, 2021
</BODY>
</HTML>