netid(5)

netid5

Yp network credential file

Overview

Files in netid format are rare. One lives in the YP map netid.byname. The format is rather simple. Each row consists of two items: a key and a value. When created by mknetid(8) there are three types of records.

The first type is information about which GIDs a UID has:

unix.⟨uid⟩@⟨yp-domain⟩ ⟨uid⟩:⟨gid⟩,⟨gid⟩

The second type contains information about hosts:

unix.⟨hostname⟩@⟨yp-domain⟩ 0:⟨hostname⟩

The third type refers to records from a netid file other than the two types above.

Files

/etc/netid

for lines not generated automatically by mknetid(8)

Examples

A configuration file might look like the following:

unix.10714@kaka 10714:400,10
unix.jodie@kaka 0:jodie

Releases

65 releases since FreeBSD 4.4-RELEASE; the text changed 36 times.

  1. 4.4–4.5
  2. 4.6–4.11
  3. 5.0
  4. 5.1–5.5
  5. 6.0–6.3
  6. 6.4
  7. 7.0
  8. 7.1
  9. 7.2
  10. 7.3
  11. 7.4
  12. 8.0
  13. 8.1
  14. 8.2
  15. 8.3
  16. 8.4
  17. 9.0
  18. 9.1
  19. 9.2
  20. 9.3
  21. 10.0
  22. 10.1
  23. 10.2
  24. 10.3
  25. 10.4
  26. 11.0
  27. 11.1
  28. 11.2
  29. 11.3
  30. 11.4
  31. 12.0
  32. 12.1
  33. 12.2
  34. 12.3
  35. 12.4
  36. 13.0–13.2
  37. 13.3–16.0

Authors

Mats O Jansson ⟨[email protected]⟩

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.