Sys.Linux.Nss (Hyper v0.1.0)

Copy Markdown View Source

NSS (Name Service Switch) utilities - queries users and groups via getent.

Summary

Functions

Run getent <database> and return its raw output.

Functions

getent(database)

@spec getent(String.t()) ::
  {:ok, binary()}
  | {:error, {:getent_failed, non_neg_integer()} | :getent_unavailable}

Run getent <database> and return its raw output.