fix: switch off the inherited personal accounts (NetOrk/netork#1793) #15

Merged
christianmanivong merged 1 commits from feat/local-accounts-opt-out into main 2026-10-31 23:44:47 +00:00
Owner

napalm-linux adds personal accounts with useradd/usermod (NetOrk/netork#1793, NAPALM/napalm-linux feat/local-accounts). QTS manages its users in its own UI and ships no shadow-utils, so get_local_accounts, add_local_account and lock_local_account are None here, the same way set_hostname is. netOrk's capability probe (callable(...)) then does not offer them. A QTS variant can follow once it can be built against a real box.

Needs the napalm-linux change merged for the test to mean anything: the test asserts that LinuxDriver offers the three actions and QnapQtsDriver does not.

napalm-linux adds personal accounts with `useradd`/`usermod` (NetOrk/netork#1793, NAPALM/napalm-linux `feat/local-accounts`). QTS manages its users in its own UI and ships no shadow-utils, so `get_local_accounts`, `add_local_account` and `lock_local_account` are `None` here, the same way `set_hostname` is. netOrk's capability probe (`callable(...)`) then does not offer them. A QTS variant can follow once it can be built against a real box. Needs the napalm-linux change merged for the test to mean anything: the test asserts that `LinuxDriver` offers the three actions and `QnapQtsDriver` does not.
christianmanivong added 1 commit 2026-10-31 22:25:04 +00:00
fix: switch off the inherited personal accounts (NetOrk/netork#1793)
driver / standard (pull_request) Successful in 19s
driver / lint (pull_request) Successful in 20s
driver / types (pull_request) Failing after 1m23s
driver / test (3.12) (pull_request) Failing after 1m25s
driver / test (3.13) (pull_request) Failing after 1m0s
driver / security (pull_request) Failing after 5s
driver / lowest (pull_request) Failing after 30s
driver / build (pull_request) Successful in 30s
CI / driver (pull_request) Failing after 2m31s
driver / publish (pull_request) Skipped
737ceb7cde
napalm-linux now adds and locks accounts with useradd/usermod. QTS
manages its users in its own UI and ships no shadow-utils, so
get_local_accounts, add_local_account and lock_local_account are None
until a QTS variant can be built against a real box.
christianmanivong merged commit b10166b30c into main 2026-10-31 23:44:47 +00:00
christianmanivong deleted branch feat/local-accounts-opt-out 2026-10-31 23:44:47 +00:00
Sign in to join this conversation.