Date: Thu, 21 Aug 2008 10:32:58 -0700 From: Chuck Swiger <cswiger@mac.com> To: sbremal@hotmail.com Cc: freebsd-questions@freebsd.org Subject: Re: /etc/groups gone Message-ID: <52C3313F-FB9D-4922-AFA6-2F17DF17ED10@mac.com> In-Reply-To: <BAY119-W2313DAE981608B171884C4A96B0@phx.gbl> References: <BAY119-W2313DAE981608B171884C4A96B0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 21, 2008, at 9:05 AM, sbremal@hotmail.com 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52C3313F-FB9D-4922-AFA6-2F17DF17ED10>