UX: usermod: WARNING: Group entry exceeds 2048 char: /etc/group entry truncated

“UX: usermod: WARNING: Group entry exceeds 2048 char: /etc/group entry truncated”

That’s today’s error,.. you wake up, logged and that’s the request that get slapped on you face…

This is when you try to add or modify a user’s group membership with ‘usermod -G’.. It usually happen when the group has tons of members and using usermod will fail as says that it exceeds… blah blah..

Edit the /etc/group file by hand.. take note though that doing a quick ‘/’ search for the group name will give you a ‘truncated’ message or something…

Find the group name manually, append the user account to the beginning of the list.

Leave a Reply

Your email address will not be published. Required fields are marked *