{"id":6546,"date":"2022-12-20T19:19:00","date_gmt":"2022-12-20T22:19:00","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/groupadd-de\/"},"modified":"2022-12-20T19:19:00","modified_gmt":"2022-12-20T22:19:00","slug":"groupadd-de","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/groupadd-de\/","title":{"rendered":"GROUPADD (de)"},"content":{"rendered":"<h1 align=\"center\">GROUPADD<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#\u00dcBERSICHT\">\u00dcBERSICHT<\/a><br \/> <a href=\"#BESCHREIBUNG\">BESCHREIBUNG<\/a><br \/> <a href=\"#OPTIONEN\">OPTIONEN<\/a><br \/> <a href=\"#KONFIGURATION\">KONFIGURATION<\/a><br \/> <a href=\"#DATEIEN\">DATEIEN<\/a><br \/> <a href=\"#WARNUNGEN\">WARNUNGEN<\/a><br \/> <a href=\"#R\u00dcCKGABEWERTE\">R\u00dcCKGABEWERTE<\/a><br \/> <a href=\"#SIEHE AUCH\">SIEHE AUCH<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">groupadd \u2212 erstellt eine neue Gruppe<\/p>\n<h2>\u00dcBERSICHT <a name=\"\u00dcBERSICHT\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"40%\">\n<p style=\"margin-top: 1em\"><b>groupadd<\/b> [<i>Optionen<\/i>] <i>Gruppe<\/i><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>BESCHREIBUNG <a name=\"BESCHREIBUNG\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Der Befehl <b>groupadd<\/b> erstellt ein neues Gruppenkonto. Dabei verwendet er die Werte, die auf der Befehlszeile angegeben wurden, oder die Standardwerte des Systems. Soweit es notwendig ist, wird die neue Gruppe den Systemdateien hinzugef\u00fcgt.<\/p>\n<h2>OPTIONEN <a name=\"OPTIONEN\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Die Optionen, die vom Befehl <b>groupadd<\/b> unterst\u00fctzt werden, sind:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212f<\/b>, <b>\u2212\u2212force<\/b><\/p>\n<p style=\"margin-left:17%;\">Die Option f\u00fchrt dazu, dass der Befehl nur dann erfolgreich beendet wird, wenn die angegebene Gruppe existiert. Falls diese Option zusammen mit der Option <b>\u2212g<\/b> verwendet wird und die angegebene GID schon vergeben ist, wird eine andere, eindeutige GID gew\u00e4hlt (d.h. <b>\u2212g<\/b> wird nicht beachtet).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212g<\/b>, <b>\u2212\u2212gid\u00a0<\/b><i>GID<\/i><\/p>\n<p style=\"margin-left:17%;\">Der zahlenm\u00e4\u00dfige Wert der Gruppen\u2212ID. Dieser Wert muss eindeutig sein, sofern nicht die Option <b>\u2212o<\/b> verwendet wird. Der Wert darf nicht negativ sein. Standardm\u00e4\u00dfig wird der kleinste Wert gr\u00f6\u00dfer als oder gleich <b>GID_MIN<\/b> und gr\u00f6\u00dfer als jeder andere Wert einer Gruppe verwendet.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Vergleichen Sie auch die Option <b>\u2212r<\/b> und die Ausf\u00fchrungen zu <b>GID_MAX<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">zeigt die Hilfe an und beendet das Programm<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212K<\/b>, <b>\u2212\u2212key\u00a0<\/b><i>SCHL\u00dcSSEL<\/i>=<i>WERT<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00dcberschreibt die Standardwerte von \/etc\/login.defs (GID_MIN, GID_MAX und weitere). Diese Option kann mehrfach verwendet werden.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Beispiel: <b>\u2212K\u00a0<\/b><i>GID_MIN<\/i>=<i>100\u00a0<\/i><b>\u2212K\u00a0<\/b><i>GID_MAX<\/i>=<i>499<\/i><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Hinweis: <b>\u2212K\u00a0<\/b><i>GID_MIN<\/i>=<i>10<\/i>,<i>GID_MAX<\/i>=<i>499<\/i> funktioniert noch nicht.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212o<\/b>, <b>\u2212\u2212non\u2212unique<\/b><\/p>\n<p style=\"margin-left:17%;\">Diese Option erlaubt es, eine Gruppe mit einer nicht eindeutigen GID zu erstellen.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212p<\/b>, <b>\u2212\u2212password\u00a0<\/b><i>PASSWORT<\/i><\/p>\n<p style=\"margin-left:17%;\">Das verschl\u00fcsselte Passwort, wie es von <b>crypt<\/b>(3) zur\u00fcckgegeben wird. Standardm\u00e4\u00dfig ist das Passwort deaktiviert.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>Hinweis:<\/b> Diese Option ist nicht empfehlenswert, weil das Passwort (auch wenn es verschl\u00fcsselt ist) f\u00fcr Benutzer sichtbar ist, die sich den Prozess anzeigen lassen.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Sie sollten sicherstellen, dass das Passwort den Passwortrichtlinien des Systems entspricht.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212r<\/b>, <b>\u2212\u2212system<\/b><\/p>\n<p style=\"margin-left:17%;\">erstellt eine neue Systemgruppe<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Die zahlenm\u00e4\u00dfige Kennung einer neuen Systemgruppe wird aus der Spanne von <b>SYS_GID_MIN<\/b> bis <b>SYS_GID_MAX<\/b> gew\u00e4hlt, welche in login.defs festgelegt wird, anstelle von <b>GID_MIN<\/b> bis <b>GID_MAX<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212R<\/b>, <b>\u2212\u2212root\u00a0<\/b><i>CHROOT_VERZ<\/i><\/p>\n<p style=\"margin-left:17%;\">f\u00fchrt die Ver\u00e4nderungen in dem Verzeichnis <i>CHROOT_VERZ<\/i> durch und verwendet die Konfigurationsdateien aus dem Verzeichnis <i>CHROOT_VERZ<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212P<\/b>, <b>\u2212\u2212prefix\u00a0<\/b><i>PREFIX_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">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\u2212compilation target. Some limitations: NIS and LDAP users\/groups are not verified. PAM authentication is using the host files. No SELINUX support.<\/p>\n<h2>KONFIGURATION <a name=\"KONFIGURATION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Die folgenden Konfigurationsvariablen in \/etc\/login.defs beeinflussen das Verhalten dieses Werkzeugs:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>GID_MAX<\/b> (Zahl), <b>GID_MIN<\/b> (Zahl)<\/p>\n<p style=\"margin-left:17%;\">der Bereich von Gruppen\u2212IDs, aus dem die Programme <b>useradd<\/b>, <b>groupadd<\/b> oder <b>newusers<\/b> bei der Erstellung normaler Gruppen ausw\u00e4hlen d\u00fcrfen<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Der Standardwert f\u00fcr <b>GID_MIN<\/b> ist 1000, f\u00fcr <b>GID_MAX<\/b> 60.000.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MAX_MEMBERS_PER_GROUP<\/b> (Zahl)<\/p>\n<p style=\"margin-left:17%;\">Maximale Anzahl von Mitgliedern je Gruppeneintrag. Wenn das Maximum erreicht wird, wird ein weiterer Eintrag in \/etc\/group (mit dem gleichen Namen, dem gleichen Passwort und der gleichen GID) erstellt.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Der Standardwert ist 0, was zur Folge hat, dass die Anzahl der Mitglieder einer Gruppe nicht begrenzt ist.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Diese F\u00e4higkeit (der aufgeteilten Gruppe) erm\u00f6glicht es, die Zeilenl\u00e4nge in der Gruppendatei zu begrenzen. Damit kann sichergestellt werden, dass die Zeilen f\u00fcr NIS\u2212Gruppen nicht l\u00e4nger als 1024 Zeichen sind.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Falls Sie eine solche Begrenzung ben\u00f6tigen, k\u00f6nnen Sie 25 verwenden.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Hinweis: Aufgeteilte Gruppen werden m\u00f6glicherweise nicht von allen Werkzeugen unterst\u00fctzt, selbst nicht aus der Shadow\u2212Werkzeugsammlung. Sie sollten diese Variable nur setzen, falls Sie zwingend darauf angewiesen sind.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SYS_GID_MAX<\/b> (Zahl), <b>SYS_GID_MIN<\/b> (Zahl)<\/p>\n<p style=\"margin-left:17%;\">der Bereich von Gruppen\u2212IDs, aus dem die Programme <b>useradd<\/b>, <b>groupadd<\/b> oder <b>newusers<\/b> bei der Erstellung von Systemgruppen ausw\u00e4hlen d\u00fcrfen<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Der Standardwert f\u00fcr <b>SYS_GID_MIN<\/b> ist 101, f\u00fcr <b>SYS_GID_MAX GID_MIN<\/b>\u22121.<\/p>\n<h2>DATEIEN <a name=\"DATEIEN\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/group<\/p>\n<p style=\"margin-left:17%;\">Informationen zu den Gruppenkonten<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/gshadow<\/p>\n<p style=\"margin-left:17%;\">sichere Informationen zu den Gruppenkonten<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/login.defs<\/p>\n<p style=\"margin-left:17%;\">Konfiguration der Shadow\u2212Passwort\u2212Werkzeugsammlung<\/p>\n<h2>WARNUNGEN <a name=\"WARNUNGEN\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Gruppennamen m\u00fcssen mit einem Kleinbuchstaben oder einem Unterstrich beginnen. Nachfolgend d\u00fcrfen sie Kleinbuchstaben, Zahlen, Unterstriche und Gedankenstriche enthalten. Das letzte Zeichen darf auch ein Dollarzeichen sein. Als regul\u00e4rer Ausdruck: [a\u2212z_][a\u2212z0\u22129_\u2212]*[$]?<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Gruppennamen d\u00fcrfen nur bis zu 16 Zeichen lang sein.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Sie k\u00f6nnen einen Benutzer nicht einer NIS\u2212 oder LDAP\u2212Gruppe hinzuf\u00fcgen. Dies m\u00fcssen Sie auf dem entsprechenden Server durchf\u00fchren.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Falls der Gruppenname bereits in einer externen Datenbank (wie etwa NIS oder LDAP) vergeben ist, wird <b>groupadd<\/b> die Gruppe nicht erstellen.<\/p>\n<h2>R\u00dcCKGABEWERTE <a name=\"R\u00dcCKGABEWERTE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Der Befehl <b>groupadd<\/b> gibt beim Beenden folgende Werte zur\u00fcck:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>0<\/i><\/p>\n<p style=\"margin-left:17%;\">Erfolg<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>2<\/i><\/p>\n<p style=\"margin-left:17%;\">unzul\u00e4ssige Syntax f\u00fcr diesen Befehl<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>3<\/i><\/p>\n<p style=\"margin-left:17%;\">ung\u00fcltiges Argument f\u00fcr Option<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>4<\/i><\/p>\n<p style=\"margin-left:17%;\">GID nicht eindeutig (wenn <b>\u2212o<\/b> nicht angegeben wird)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>9<\/i><\/p>\n<p style=\"margin-left:17%;\">Gruppenname nicht eindeutig<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>10<\/i><\/p>\n<p style=\"margin-left:17%;\">Die Gruppendatei kann nicht aktualisieren werden.<\/p>\n<h2>SIEHE AUCH <a name=\"SIEHE AUCH\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>chfn<\/b>(1), <b>chsh<\/b>(1), <b>passwd<\/b>(1), <b>gpasswd<\/b>(8), <b>groupdel<\/b>(8), <b>groupmod<\/b>(8), <b>login.defs<\/b>(5), <b>useradd<\/b>(8), <b>userdel<\/b>(8), <b>usermod<\/b>(8).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  groupadd \u2212 erstellt eine neue Gruppe <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,2971,567],"class_list":["post-6546","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-de","tag-groupadd"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6546"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6546\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}