title: Does anyone knows the difference betwee groupadd id and subgid?
body: <p>we can</p>
  <blockquote>
  <p>groupadd somegroup</p>
  <p>useradd -g somegroup user1</p>
  </blockquote>
  <p>after useradd, we can find related /etc/subuid and /etc/subgid both with following format:</p>
  <blockquote>
  <p>user1:165536:65536</p>
  </blockquote>
  <p>The question is that for those subgid, those ids not include somegroup id (<strong>maybe 1001, it is far less than 165536</strong>).</p>
  <p>Does anyone know what's that means?  I googled a lot. still not quite understand.</p>