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

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

_account_create_with_uid(name, uid) makes the account in one step: pw useradd -n <name> -u <uid> -m -s /bin/sh -w no. Setting the uid later with pw usermod -u would leave the new home owned by the old uid.

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

Tests: suite 147 green, ratchet green.

`_account_create_with_uid(name, uid)` makes the account in one step: `pw useradd -n <name> -u <uid> -m -s /bin/sh -w no`. Setting the uid later with `pw usermod -u` would leave the new home owned by the old uid. Needs NAPALM/napalm-device-types#67, which adds the `_account_create_with_uid` hook. Tests: suite 147 green, ratchet green.
christianmanivong added 1 commit 2026-11-01 11:42:47 +00:00
feat: netOrk's own account with a fixed uid on FreeBSD (NetOrk/netork#1817)
driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 13s
driver / types (pull_request) Successful in 1m3s
driver / test (3.12) (pull_request) Successful in 1m0s
driver / test (3.13) (pull_request) Successful in 56s
driver / lowest (pull_request) Successful in 31s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m16s
CI / driver (pull_request) Successful in 2m39s
driver / publish (pull_request) Skipped
b89ad07991
_account_create_with_uid makes it with pw useradd -u <uid> -m -w no.
christianmanivong merged commit 405239d5df 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.