{"id":6361,"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\/grpck-pl\/"},"modified":"2022-12-20T18:58:13","modified_gmt":"2022-12-20T21:58:13","slug":"grpck-pl","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/grpck-pl\/","title":{"rendered":"GRPCK (pl)"},"content":{"rendered":"<h1 align=\"center\">GRPCK<\/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=\"#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\">grpck \u2212 verify integrity of group files<\/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=\"49%\">\n<p style=\"margin-top: 1em\"><b>grpck<\/b> [opcje] [<i>group\u00a0<\/i>[\u00a0<i>shadow\u00a0<\/i>]]<\/p>\n<\/td>\n<td width=\"40%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>OPIS <a name=\"OPIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>grpck<\/b> command verifies the integrity of the groups information. It checks that all entries in \/etc\/group and \/etc\/gshadow have the proper format and contain valid data. The user is prompted to delete entries that are improperly formatted or which have other uncorrectable errors.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Checks are made to verify that each entry has:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 the correct number of fields<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 a unique and valid group name<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 a valid group identifier (\/etc\/group only)<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 a valid list of members and administrators<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 a corresponding entry in the \/etc\/gshadow file (respectively \/etc\/group for the gshadow checks)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The checks for correct number of fields and unique group name are fatal. If an entry has the wrong number of fields, the user will be prompted to delete the entire line. If the user does not answer affirmatively, all further checks are bypassed. An entry with a duplicated group name is prompted for deletion, but the remaining checks will still be made. All other errors are warnings and the user is encouraged to run the <b>groupmod<\/b> command to correct the error.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The commands which operate on the \/etc\/group and \/etc\/gshadow files are not able to alter corrupted or duplicated entries. <b>grpck<\/b> should be used in those circumstances to remove the offending entries.<\/p>\n<h2>OPCJE <a name=\"OPCJE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>\u2212r<\/b> and <b>\u2212s<\/b> options cannot be combined.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The options which apply to the <b>grpck<\/b> command are:<\/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>\u2212r<\/b>, <b>\u2212\u2212read\u2212only<\/b><\/p>\n<p style=\"margin-left:17%;\">Execute the <b>grpck<\/b> command in read\u2212only mode. This causes all questions regarding changes to be answered <i>no<\/i> without user intervention.<\/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>\u2212s<\/b>, <b>\u2212\u2212sort<\/b><\/p>\n<p style=\"margin-left:17%;\">Sort entries in \/etc\/group and \/etc\/gshadow by GID.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">By default, <b>grpck<\/b> operates on \/etc\/group and \/etc\/gshadow. The user may select alternate files with the <i>group<\/i> and <i>shadow<\/i> parameters.<\/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>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<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\/passwd<\/p>\n<p style=\"margin-left:17%;\">Informacja o kontach u\u00c5\u00bcytkownik\u00f3w.<\/p>\n<h2>KOD ZAKO\u00c5CZENIA <a name=\"KOD ZAKO\u00c5CZENIA\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Polecenie <b>grpckl<\/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>1<\/i><\/p>\n<p style=\"margin-left:17%;\">niepoprawna sk\u0142adnia polecenia<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>2<\/i><\/p>\n<p style=\"margin-left:17%;\">one or more bad group entries<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>3<\/i><\/p>\n<p style=\"margin-left:17%;\">can&#8217;t open group files<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>4<\/i><\/p>\n<p style=\"margin-left:17%;\">can&#8217;t lock group files<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>5<\/i><\/p>\n<p style=\"margin-left:17%;\">can&#8217;t update group files<\/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>group<\/b>(5), <b>groupmod<\/b>(8), <b>gshadow<\/b>(5), <b>passwd<\/b>(5), <b>pwck<\/b>(8), <b>shadow<\/b>(5).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>GRPCK NAZWA STRESZCZENIE OPIS OPCJE CONFIGURATION PLIKI KOD ZAKO\u00c5CZENIA ZOBACZ TAK\u00c5\u00bbE NAZWA grpck \u2212 verify integrity of group files STRESZCZENIE grpck [opcje] [group\u00a0[\u00a0shadow\u00a0]] OPIS The grpck command verifies the integrity of the groups information. It checks that all entries in \/etc\/group and \/etc\/gshadow have the proper format and contain valid data. The user is prompted [&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,584,2930],"class_list":["post-6361","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-grpck","tag-pl"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6361","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=6361"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6361\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}