Getgrgid looks up the group database and returns the record
matching the given GID. If no record is found, it returns (nil,
nil). It is the equivalent of the C function getgrgid.
Getgrnam looks up the group database and returns the record
matching the given group name. If no record is found, it returns
(nil, nil). It is the equivalent of the C function getgrnam.