{"id":164,"date":"2009-09-12T09:49:00","date_gmt":"2009-09-12T01:49:00","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/?p=164"},"modified":"2009-09-12T09:49:00","modified_gmt":"2009-09-12T01:49:00","slug":"ux-usermod-warning-group-entry-exceeds-2048-char-etcgroup-entry-truncated","status":"publish","type":"post","link":"http:\/\/www.sysadmindayph.com\/blog\/ux-usermod-warning-group-entry-exceeds-2048-char-etcgroup-entry-truncated\/","title":{"rendered":"UX: usermod: WARNING: Group entry exceeds 2048 char: \/etc\/group entry truncated"},"content":{"rendered":"<p>&#8220;UX: usermod: WARNING: Group entry exceeds 2048 char: \/etc\/group entry truncated&#8221;<\/p>\n<p>That&#8217;s today&#8217;s error,.. you wake up, logged and that&#8217;s the request that get slapped on you face&#8230;<\/p>\n<p>This is when you try to add or modify a user&#8217;s group membership with &#8216;usermod -G&#8217;.. It usually happen when the group has tons of members and using usermod will fail as says that it exceeds&#8230; blah blah..<\/p>\n<p>Edit the \/etc\/group file by hand.. take note though that doing a quick &#8216;\/&#8217; search for the group name will give you a &#8216;truncated&#8217; message or something&#8230;<\/p>\n<p>Find the group name manually, append the user account to the beginning of the list.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;UX: usermod: WARNING: Group entry exceeds 2048 char: \/etc\/group entry truncated&#8221; That&#8217;s today&#8217;s error,.. you wake up, logged and that&#8217;s the request that get slapped on you face&#8230; This is when you try to add &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[279,278,280],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-tips","tag-group-file","tag-usermod","tag-ux"],"_links":{"self":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":0,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}