The group database (getent group).
Summary
Functions
Queries the system for group entries.
Parse raw getent group output into specs, halting on the first bad line.
Functions
@spec entries() :: {:ok, [Sys.Linux.Nss.Group.Spec.t()]} | {:error, {:getent_failed, non_neg_integer()} | :getent_unavailable | :invalid_format}
Queries the system for group entries.
@spec from_output(binary()) :: {:ok, [Sys.Linux.Nss.Group.Spec.t()]} | {:error, :invalid_format}
Parse raw getent group output into specs, halting on the first bad line.