On Aug 21, 2008, at 9:05 AM, [EMAIL PROTECTED] wrote:
Is there any better way of rebuilding /etc/groups than guessing and manually adding one-by-one.

Can I somehow list all group IDs used by the file system?

You should start with /usr/src/etc/group, which is the original version of the groups file.

For each user account added, normally a group is also created with gid == uid. Once you've got those back, add any users to wheel and so forth, and then do a "find /usr -nogroup" (check other paths if needed) to see whether you're missing something, perhaps from ports.

Regards,
--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to