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