# `Sys.Linux.Nss.Passwd`
[🔗](https://github.com/harmont-dev/hyper/blob/main/lib/sys/linux/nss.ex#L4)

The passwd database (`getent passwd`).

# `entries`

```elixir
@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.

# `from_output`

```elixir
@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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
