{"id":4248,"date":"2022-12-20T17:39:53","date_gmt":"2022-12-20T20:39:53","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/grpck-zh_cn\/"},"modified":"2022-12-20T17:39:53","modified_gmt":"2022-12-20T20:39:53","slug":"grpck-zh_cn","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/grpck-zh_cn\/","title":{"rendered":"GRPCK (zh_CN)"},"content":{"rendered":"<h1 align=\"center\">GRPCK<\/h1>\n<p> <a href=\"#\u00e5\u00e7\u00a7\u00b0\">\u00e5\u00e7\u00a7\u00b0<\/a><br \/> <a href=\"#\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2\">\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2<\/a><br \/> <a href=\"#\u00e6\u00e8\u00bf\u00b0\">\u00e6\u00e8\u00bf\u00b0<\/a><br \/> <a href=\"#\u00e9\u00e9\u00a1\u00b9\">\u00e9\u00e9\u00a1\u00b9<\/a><br \/> <a href=\"#\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6\">\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6<\/a><br \/> <a href=\"#\u00e6\u00e4\u00bb\u00b6\">\u00e6\u00e4\u00bb\u00b6<\/a><br \/> <a href=\"#\u00e9\u00e5\u00ba\u00e5\u00bc\">\u00e9\u00e5\u00ba\u00e5\u00bc<\/a><br \/> <a href=\"#\u00e5\u00e8\u00a7\">\u00e5\u00e8\u00a7<\/a> <\/p>\n<hr>\n<h2>\u00e5\u00e7\u00a7\u00b0 <a name=\"\u00e5\u00e7\u00a7\u00b0\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">grpck \u2212 \u00e6\u00a3\u00e6\u00a5\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6\u00e7\u00e5\u00ae\u00e6\u00b4\u00e6\u00a7<\/p>\n<h2>\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 <a name=\"\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2\"><\/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=\"47%\">\n<p style=\"margin-top: 1em\"><b>grpck<\/b> [\u00e9\u00e9\u00a1\u00b9] [<i>group\u00a0<\/i>[\u00a0<i>shadow\u00a0<\/i>]]<\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>\u00e6\u00e8\u00bf\u00b0 <a name=\"\u00e6\u00e8\u00bf\u00b0\"><\/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\">\u00e6\u00a3\u00e6\u00a5\u00e7\u00e9\u00a1\u00b9\u00e7\u00ae\u00e6\u00ef\u00bc<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 \u00e6\u00a3\u00e7\u00a1\u00ae\u00e7\u00e5\u00e6\u00ae\u00b5\u00e6\u00b0<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 \u00e4\u00b8\u00e4\u00b8\u00aa\u00e5\u00af\u00e4\u00b8\u00e4\u00b8\u00e6\u00e6\u00e7\u00e7\u00bb\u00e5<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 \u00e6\u00e6\u00e7\u00e7\u00bb\u00e6\u00a0\u00e8\u00af\u00e7\u00ac\u00a6 (\u00e4\u00bb \/etc\/group)<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u2022 \u00e6\u00e6\u00e7\u00e6\u00e5\u00e5 \u00e7\u00ae\u00a1\u00e7\u00e5 \u00e5\u00e8\u00a1\u00a8\u00e3<\/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>\u00e9\u00e9\u00a1\u00b9 <a name=\"\u00e9\u00e9\u00a1\u00b9\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212r<\/b> \u00e5 <b>\u2212s<\/b> \u00e9\u00e9\u00a1\u00b9\u00e4\u00b8\u00e8\u00bd\u00e8\u00e5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>grpck<\/b> \u00e5\u00af\u00e4\u00bb\u00a5\u00e6\u00a5\u00e5\u00e7\u00e9\u00e9\u00a1\u00b9\u00e6\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00b0\u00e5\u00ae\u00e5\u00b8\u00ae\u00e5\u00a9\u00e4\u00bf\u00a1\u00e6\u00af\u00e5\u00b9\u00b6\u00e9\u00e5\u00ba\u00e3<\/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%;\">\u00e6\u00a0\u00b9\u00e6\u00ae GID \u00e5\u00a8 \/etc\/group\u00e5 \/etc\/gshadow \u00e4\u00b8\u00e8\u00bf\u00e8\u00a1\u00e6\u00e5\u00ba\u00e3<\/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>\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6 <a name=\"\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e5\u00a8 \/etc\/login.defs \u00e4\u00b8\u00e6\u00e5\u00a6\u00e4\u00b8\u00e9\u00e7\u00bd\u00ae\u00e5\u00e9\u00ef\u00bc\u00e5\u00af\u00e4\u00bb\u00a5\u00e7\u00a8\u00e6\u00a5\u00e6\u00b4\u00e6\u00b9\u00e6\u00a4\u00e5\u00b7\u00a5\u00e5\u00b7\u00e7\u00e8\u00a1\u00e4\u00b8\u00ba\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MAX_MEMBERS_PER_GROUP<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00af\u00e4\u00b8\u00aa\u00e7\u00bb\u00e6\u00a1\u00e7\u00ae\u00e7\u00e6\u00e5\u00a4\u00a7\u00e6\u00e5\u00e6\u00b0\u00e3\u00e8\u00be\u00be\u00e5\u00b0\u00e6\u00e5\u00a4\u00a7\u00e5\u00bc\u00e6\u00b6\u00ef\u00bc\u00e5\u00a8 \/etc\/group \u00e5\u00bc\u00e5\u00a7\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00b0\u00e6\u00a1\u00e7\u00ae(\u00e8\u00a1)(\u00e4\u00bd\u00bf\u00e7\u00a8\u00e5\u00e6\u00a0\u00b7\u00e7\u00e5\u00e7\u00a7\u00b0\u00ef\u00bc\u00e5\u00e6\u00a0\u00b7\u00e7\u00e5\u00af\u00e7\u00a0\u00ef\u00bc\u00e5\u00e6\u00a0\u00b7\u00e7 GID)\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e6\u00af 0\u00ef\u00bc\u00e6\u00e5\u00b3\u00e7\u00e7\u00bb\u00e4\u00b8\u00e7\u00e6\u00e5\u00e6\u00b0\u00e6\u00b2\u00a1\u00e6\u00e9\u00e5\u00b6\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00a4\u00e5\u00e8\u00bd(\u00e5\u00e5\u00b2\u00e7\u00bb)\u00e5\u00e8\u00ae\u00b8\u00e9\u00e5\u00b6\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6\u00e4\u00b8\u00e7\u00e8\u00a1\u00e9\u00bf\u00e5\u00ba\u00a6\u00e3\u00e8\u00bf\u00e5\u00af\u00b9\u00e4\u00ba\u00e7\u00a1\u00ae\u00e4\u00bf NIS \u00e7\u00bb\u00e7\u00e8\u00a1\u00e6\u00af\u00e9\u00bf\u00e4\u00ba 1024 \u00e5\u00e7\u00ac\u00a6\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e8\u00a6\u00e5\u00bc\u00ba\u00e5\u00b6\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e5\u00b6\u00ef\u00bc\u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8 25\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc\u00e5\u00e5\u00b2\u00e7\u00bb\u00e5\u00af\u00e8\u00bd\u00e4\u00b8\u00e5\u00e6\u00e6\u00e5\u00b7\u00a5\u00e5\u00b7\u00e7\u00e6\u00af\u00e6(\u00e7\u00e8\u00b3\u00e5\u00a8 Shadow \u00e5\u00b7\u00a5\u00e5\u00b7\u00e9\u00e4\u00b8- )\u00e3\u00e6\u00a8\u00e4\u00b8\u00e5\u00ba\u00e8\u00af\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e8\u00bf\u00e4\u00b8\u00aa\u00e5\u00e9\u00ef\u00bc\u00e9\u00a4\u00e9\u00e7\u00e7\u00e9\u00e8\u00a6\u00e3<\/p>\n<h2>\u00e6\u00e4\u00bb\u00b6 <a name=\"\u00e6\u00e4\u00bb\u00b6\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/group<\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00bb\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/gshadow<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00ae\u00e5\u00a8\u00e7\u00bb\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/passwd<\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<h2>\u00e9\u00e5\u00ba\u00e5\u00bc <a name=\"\u00e9\u00e5\u00ba\u00e5\u00bc\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>grpck<\/b> \u00e5\u00af\u00e4\u00bb\u00a5\u00e8\u00bf\u00e5\u00e5\u00a6\u00e4\u00b8\u00e5\u00bc\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>0<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00e5<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>1<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00e7\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00af\u00e6\u00b3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>2<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00e5\u00a4\u00e4\u00b8\u00aa\u00e5\u00e6\u00e7\u00e7\u00bb\u00e6\u00a1\u00e7\u00ae<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>3<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00b3\u00e6\u00e5\u00bc\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>4<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00b3\u00e9\u00e5\u00ae\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>5<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00b3\u00e6\u00b4\u00e6\u00b0\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6<\/p>\n<h2>\u00e5\u00e8\u00a7 <a name=\"\u00e5\u00e8\u00a7\"><\/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 \u00e5\u00e7\u00a7\u00b0 \u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 \u00e6\u00e8\u00bf\u00b0 \u00e9\u00e9\u00a1\u00b9 \u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6 \u00e6\u00e4\u00bb\u00b6 \u00e9\u00e5\u00ba\u00e5\u00bc \u00e5\u00e8\u00a7 \u00e5\u00e7\u00a7\u00b0 grpck \u2212 \u00e6\u00a3\u00e6\u00a5\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6\u00e7\u00e5\u00ae\u00e6\u00b4\u00e6\u00a7 \u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 grpck [\u00e9\u00e9\u00a1\u00b9] [group\u00a0[\u00a0shadow\u00a0]] \u00e6\u00e8\u00bf\u00b0 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 to delete entries that are improperly [&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,1284],"class_list":["post-4248","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-grpck","tag-zh_cn"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4248","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=4248"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4248\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}