Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Running grpck to check the groups, I see these errors:

 'twinky' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'dipsy' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'laalaa' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'po' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'noonoo' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 'dipsy' is a member of the 'foo' group in /etc/group but not in /etc/gshadow
 ...

...and on for quite a few. I'm not sure how this happened, and I'd like to get it cleaned up. I know I could manually edit the /etc/gshadow, but I'd rather let the OS do it, to prevent typos and manual labor.

Is there anything that can automatically reconcile a group into gshadow? Maybe something like (making this up):

# grpfix foo

I've tried man on various group-related commands and googled around, but so far I haven't been able to find the answer.

share|improve this question
add comment

1 Answer

Ahh - do'oh, man had the answer I missed before:

grpconv
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.