{"id":6357,"date":"2022-12-20T18:58:13","date_gmt":"2022-12-20T21:58:13","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/groupadd-pl\/"},"modified":"2022-12-20T18:58:13","modified_gmt":"2022-12-20T21:58:13","slug":"groupadd-pl","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/groupadd-pl\/","title":{"rendered":"GROUPADD (pl)"},"content":{"rendered":"<h1 align=\"center\">GROUPADD<\/h1>\n<p> <a href=\"#NAZWA\">NAZWA<\/a><br \/> <a href=\"#STRESZCZENIE\">STRESZCZENIE<\/a><br \/> <a href=\"#OPIS\">OPIS<\/a><br \/> <a href=\"#OPCJE\">OPCJE<\/a><br \/> <a href=\"#CONFIGURATION\">CONFIGURATION<\/a><br \/> <a href=\"#PLIKI\">PLIKI<\/a><br \/> <a href=\"#OSTRZE\u00c5\u00bbENIA\">OSTRZE\u00c5\u00bbENIA<\/a><br \/> <a href=\"#KOD ZAKO\u00c5CZENIA\">KOD ZAKO\u00c5CZENIA<\/a><br \/> <a href=\"#ZOBACZ TAK\u00c5\u00bbE\">ZOBACZ TAK\u00c5\u00bbE<\/a> <\/p>\n<hr>\n<h2>NAZWA <a name=\"NAZWA\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">groupadd \u2212 utw\u00f3rz now\u00c4 grup\u00c4<\/p>\n<h2>STRESZCZENIE <a name=\"STRESZCZENIE\"><\/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=\"34%\">\n<p style=\"margin-top: 1em\"><b>groupadd<\/b> [<i>opcje<\/i>] <i>group<\/i><\/p>\n<\/td>\n<td width=\"55%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>OPIS <a name=\"OPIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>groupadd<\/b> command creates a new group account using the values specified on the command line plus the default values from the system. The new group will be entered into the system files as needed.<\/p>\n<h2>OPCJE <a name=\"OPCJE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Polecenie <b>groupadd<\/b> posiada nast\u00c4puj\u00c4ce opcje:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212f<\/b>, <b>\u2212\u2212force<\/b><\/p>\n<p style=\"margin-left:17%;\">This option causes the command to simply exit with success status if the specified group already exists. When used with <b>\u2212g<\/b>, and the specified GID already exists, another (unique) GID is chosen (i.e. <b>\u2212g<\/b> is turned off).<\/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%;\">The numerical value of the group&#8217;s ID. This value must be unique, unless the <b>\u2212o<\/b> option is used. The value must be non\u2212negative. The default is to use the smallest ID value greater than or equal to <b>GID_MIN<\/b> and greater than every other group.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">See also the <b>\u2212r<\/b> option and the <b>GID_MAX<\/b> description.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">Wy\u00c5wietlenie komunikatu pomocy i zako\u00c5czenie dzia\u0142ania.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212K<\/b>, <b>\u2212\u2212key\u00a0<\/b><i>KLUCZ<\/i>=<i>WARTO\u00c5\u00c4<\/i><\/p>\n<p style=\"margin-left:17%;\">Overrides \/etc\/login.defs defaults (GID_MIN, GID_MAX and others). Multiple <b>\u2212K<\/b> options can be specified.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Example: <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\">Note: <b>\u2212K\u00a0<\/b><i>GID_MIN<\/i>=<i>10<\/i>,<i>GID_MAX<\/i>=<i>499<\/i> doesn&#8217;t work yet.<\/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%;\">This option permits to add a group with a non\u2212unique GID.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212p<\/b>, <b>\u2212\u2212password\u00a0<\/b><i>HAS\u0141O<\/i><\/p>\n<p style=\"margin-left:17%;\">The encrypted password, as returned by <b>crypt<\/b>(3). The default is to disable the password.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>Note:<\/b> This option is not recommended because the password (or encrypted password) will be visible by users listing the processes.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">You should make sure the password respects the system&#8217;s password policy.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212r<\/b>, <b>\u2212\u2212system<\/b><\/p>\n<p style=\"margin-left:17%;\">Create a system group.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The numeric identifiers of new system groups are chosen in the <b>SYS_GID_MIN<\/b>\u2212<b>SYS_GID_MAX<\/b> range, defined in login.defs, instead of <b>GID_MIN<\/b>\u2212<b>GID_MAX<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212R<\/b>, <b>\u2212\u2212root\u00a0<\/b><i>CHROOT_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">Apply changes in the <i>CHROOT_DIR<\/i> directory and use the configuration files from the <i>CHROOT_DIR<\/i> directory.<\/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>CONFIGURATION <a name=\"CONFIGURATION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following configuration variables in \/etc\/login.defs change the behavior of this tool:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>GID_MAX<\/b> (number), <b>GID_MIN<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">Range of group IDs used for the creation of regular groups by <b>useradd<\/b>, <b>groupadd<\/b>, or <b>newusers<\/b>.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The default value for <b>GID_MIN<\/b> (resp. <b>GID_MAX<\/b>) is 1000 (resp. 60000).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MAX_MEMBERS_PER_GROUP<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">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>\n<p style=\"margin-left:17%; margin-top: 1em\">The default value is 0, meaning that there are no limits in the number of members in a group.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">This feature (split group) permits to limit the length of lines in the group file. This is useful to make sure that lines for NIS groups are not larger than 1024 characters.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">If you need to enforce such limit, you can use 25.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Note: split groups may not be supported by all tools (even in the Shadow toolsuite). You should not use this variable unless you really need it.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SYS_GID_MAX<\/b> (number), <b>SYS_GID_MIN<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">Range of group IDs used for the creation of system groups by <b>useradd<\/b>, <b>groupadd<\/b>, or <b>newusers<\/b>.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The default value for <b>SYS_GID_MIN<\/b> (resp. <b>SYS_GID_MAX<\/b>) is 101 (resp. <b>GID_MIN<\/b>\u22121).<\/p>\n<h2>PLIKI <a name=\"PLIKI\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/group<\/p>\n<p style=\"margin-left:17%;\">Informacje o grupach u\u00c5\u00bcytkownik\u00f3w.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/gshadow<\/p>\n<p style=\"margin-left:17%;\">Informacje chronione o grupach u\u00c5\u00bcytkownik\u00f3w.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/login.defs<\/p>\n<p style=\"margin-left:17%;\">Konfiguracja pakietu shadow.<\/p>\n<h2>OSTRZE\u00c5\u00bbENIA <a name=\"OSTRZE\u00c5\u00bbENIA\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Groupnames must start with a lower case letter or an underscore, followed by lower case letters, digits, underscores, or dashes. They can end with a dollar sign. In regular expression terms: [a\u2212z_][a\u2212z0\u22129_\u2212]*[$]?<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Groupnames may only be up to 16 characters long.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">You may not add a NIS or LDAP group. This must be performed on the corresponding server.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the groupname already exists in an external group database such as NIS or LDAP, <b>groupadd<\/b> will deny the group creation request.<\/p>\n<h2>KOD ZAKO\u00c5CZENIA <a name=\"KOD ZAKO\u00c5CZENIA\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Polecenie <b>groupadd<\/b> ko\u00c5czy dzia\u0142anie z nast\u00c4puj\u00c4cymi warto\u00c5ciami kod\u00f3w zako\u00c5czenia:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>0<\/i><\/p>\n<p style=\"margin-left:17%;\">poprawne zako\u00c5czenie dzia\u0142ania programu<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>2<\/i><\/p>\n<p style=\"margin-left:17%;\">niepoprawna sk\u0142adnia polecenia<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>3<\/i><\/p>\n<p style=\"margin-left:17%;\">nieprawid\u0142owy argument opcji<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>4<\/i><\/p>\n<p style=\"margin-left:17%;\">GID not unique (when <b>\u2212o<\/b> not used)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>9<\/i><\/p>\n<p style=\"margin-left:17%;\">group name not unique<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>10<\/i><\/p>\n<p style=\"margin-left:17%;\">nie mo\u00c5\u00bcna zaktualizowa\u00c4 pliku z grupami<\/p>\n<h2>ZOBACZ TAK\u00c5\u00bbE <a name=\"ZOBACZ TAK\u00c5\u00bbE\"><\/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 NAZWA STRESZCZENIE OPIS OPCJE CONFIGURATION PLIKI OSTRZE\u00c5\u00bbENIA KOD ZAKO\u00c5CZENIA ZOBACZ TAK\u00c5\u00bbE NAZWA groupadd \u2212 utw\u00f3rz now\u00c4 grup\u00c4 STRESZCZENIE groupadd [opcje] group OPIS The groupadd command creates a new group account using the values specified on the command line plus the default values from the system. The new group will be entered into the system [&hellip;]<\/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,567,2930],"class_list":["post-6357","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-groupadd","tag-pl"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6357","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=6357"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6357\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}