Had a user recently create a group in AIX but inadvertently pressed a strange key combination that resulted in adding a new group without a displayable group name. He was unable to remove the group with rmgroup as there did not appear to be a name for the group he’d added although there was a GID for it.
Indeed, even smitty group -> List All Groups did not show the group.
In /etc/group I could see the GID of the invalid group and in /etc/security/group I could also see a group name for it followed by a ^M, this must have been the offending key combination that had screwed up /etc/group.
did the trick, where group was the group name shown in /etc/security/group and ^M was created using the key combination CTRL-v CTRL-m.
You must log in to post a comment.