title: Getting groups, root user belongs to
body: <p>When I'm trying go get <code>groups</code> for root user in bash, I receive <code>root</code> as output (which is expected and obvious). But, then I'm looking in <code>/etc/group</code>, I can see that no users at all are mentioned in root group. And when I'm trying to get group info for <code>root</code> group from code like this:</p>
  
  <pre><code>group* groupInfo = getgrgid(0);
  </code></pre>
  
  <p>group member list <code>groupInfo-&gt;gr_mem</code> is empty. </p>
  
  <p>How do I get real group member list and why root user isn't mentioned neither in /etc/group nor in <code>gm_mem</code> member of <code>group</code>?</p>
  
  <p>For mbratch's comment:
  I faced this issue on Open Suse and Ubuntu. Still, even if user does belongs to group with appropriate name, I don't see the way to determine this fact so far.</p>