feat: netOrk's own account with a fixed uid (NetOrk/netork#1817) #53

Merged
christianmanivong merged 1 commits from feature/system-user-uid-1817 into main 2026-11-01 12:44:20 +00:00
Owner

netOrk's own account gets the same uid on every host, as the infrastructure's build standard wants. netOrk's default is 900.

_account_create_with_uid(name, uid) makes the account with useradd -m -u <uid> -s /bin/bash. Below UID_MIN, useradd only warns, as it does for a system account.

Needs NAPALM/napalm-device-types#67, which adds the _account_create_with_uid hook.

Tests: suite 273 green, ratchet green.

netOrk's own account gets the same uid on every host, as the infrastructure's build standard wants. netOrk's default is 900. `_account_create_with_uid(name, uid)` makes the account with `useradd -m -u <uid> -s /bin/bash`. Below `UID_MIN`, useradd only warns, as it does for a system account. Needs NAPALM/napalm-device-types#67, which adds the `_account_create_with_uid` hook. Tests: suite 273 green, ratchet green.
christianmanivong added 1 commit 2026-11-01 11:42:47 +00:00
feat: netOrk's own account with a fixed uid (NetOrk/netork#1817)
driver / standard (pull_request) Successful in 14s
driver / lint (pull_request) Successful in 13s
driver / types (pull_request) Successful in 1m4s
driver / test (3.12) (pull_request) Successful in 1m3s
driver / test (3.13) (pull_request) Successful in 57s
driver / lowest (pull_request) Successful in 28s
driver / build (pull_request) Successful in 26s
driver / security (pull_request) Successful in 1m6s
CI / driver (pull_request) Successful in 2m37s
driver / publish (pull_request) Skipped
e9a1fc7ff9
_account_create_with_uid makes it with useradd -m -u <uid>; below UID_MIN
useradd warns and goes on, as for a system's account.
christianmanivong merged commit a729b35d8b into main 2026-11-01 12:44:20 +00:00
christianmanivong deleted branch feature/system-user-uid-1817 2026-11-01 12:44:20 +00:00
Sign in to join this conversation.