{"id":6341,"date":"2022-12-20T18:58:11","date_gmt":"2022-12-20T21:58:11","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/groupmems-pl\/"},"modified":"2022-12-20T18:58:11","modified_gmt":"2022-12-20T21:58:11","slug":"groupmems-pl","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/groupmems-pl\/","title":{"rendered":"GROUPMEMS (pl)"},"content":{"rendered":"<h1 align=\"center\">GROUPMEMS<\/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=\"#SETUP\">SETUP<\/a><br \/> <a href=\"#CONFIGURATION\">CONFIGURATION<\/a><br \/> <a href=\"#PLIKI\">PLIKI<\/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\">groupmems \u2212 administer members of a user&#8217;s primary group<\/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=\"89%\">\n<p style=\"margin-top: 1em\"><b>groupmems<\/b> \u2212a\u00a0<i>user_name<\/i> | \u2212d\u00a0<i>user_name<\/i> | [\u2212g\u00a0<i>group_name<\/i>] | \u2212l | \u2212p<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>OPIS <a name=\"OPIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>groupmems<\/b> command allows a user to administer their own group membership list without the requirement of superuser privileges. The <b>groupmems<\/b> utility is for systems that configure its users to be in their own name sake primary group (i.e., guest \/ guest).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Only the superuser, as administrator, can use <b>groupmems<\/b> to alter the memberships of other groups.<\/p>\n<h2>OPCJE <a name=\"OPCJE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Polecenie <b>groupmems<\/b> posiada nast\u00c4puj\u00c4ce opcje:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212a<\/b>, <b>\u2212\u2212add\u00a0<\/b><i>user_name<\/i><\/p>\n<p style=\"margin-left:17%;\">Add a user to the group membership list.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">If the \/etc\/gshadow file exist, and the group has no entry in the \/etc\/gshadow file, a new entry will be created.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d<\/b>, <b>\u2212\u2212delete\u00a0<\/b><i>user_name<\/i><\/p>\n<p style=\"margin-left:17%;\">Delete a user from the group membership list.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">If the \/etc\/gshadow file exist, the user will be removed from the list of members and administrators of the group.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">If the \/etc\/gshadow file exist, and the group has no entry in the \/etc\/gshadow file, a new entry will be created.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212g<\/b>, <b>\u2212\u2212group\u00a0<\/b><i>group_name<\/i><\/p>\n<p style=\"margin-left:17%;\">The superuser can specify which group membership list to modify.<\/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>\u2212l<\/b>, <b>\u2212\u2212list<\/b><\/p>\n<p style=\"margin-left:17%;\">List the group membership list.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212p<\/b>, <b>\u2212\u2212purge<\/b><\/p>\n<p style=\"margin-left:17%;\">Purge all users from the group membership list.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">If the \/etc\/gshadow file exist, and the group has no entry in the \/etc\/gshadow file, a new entry will be created.<\/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<h2>SETUP <a name=\"SETUP\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>groupmems<\/b> executable should be in mode 2770 as user <i>root<\/i> and in group <i>groups<\/i>. The system administrator can add users to group <i>groups<\/i> to allow or disallow them using the <b>groupmems<\/b> utility to manage their own group membership list.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"92%\">\n<p>$ groupadd \u2212r groups<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"92%\">\n<p>$ chmod 2770 groupmems<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"92%\">\n<p>$ chown root.groups groupmems<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"92%\">\n<p>$ groupmems \u2212g groups \u2212a gk4<\/p>\n<\/td>\n<\/tr>\n<\/table>\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%;\">secure group account information<\/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>groupadd<\/b>(8), <b>groupdel<\/b>(8), <b>useradd<\/b>(8), <b>userdel<\/b>(8), <b>usermod<\/b>(8).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>GROUPMEMS NAZWA STRESZCZENIE OPIS OPCJE SETUP CONFIGURATION PLIKI ZOBACZ TAK\u00c5\u00bbE NAZWA groupmems \u2212 administer members of a user&#8217;s primary group STRESZCZENIE groupmems \u2212a\u00a0user_name | \u2212d\u00a0user_name | [\u2212g\u00a0group_name] | \u2212l | \u2212p OPIS The groupmems command allows a user to administer their own group membership list without the requirement of superuser privileges. The groupmems utility is [&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,329,2930],"class_list":["post-6341","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-groupmems","tag-pl"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6341","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=6341"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6341\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}