feat: a host may add a key file sshd reads (NetOrk/netork#1793)
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 14s
driver / types (pull_request) Successful in 1m6s
driver / test (3.12) (pull_request) Successful in 1m14s
driver / lowest (pull_request) Successful in 39s
driver / test (3.13) (pull_request) Successful in 1m23s
driver / build (pull_request) Successful in 32s
driver / security (pull_request) Successful in 1m5s
CI / driver (pull_request) Successful in 2m45s
driver / publish (pull_request) Skipped

_account_key_files says which files hold an account's keys; the default is
~/.ssh/authorized_keys and authorized_keys2. OpenMediaVault adds the file it
deploys under /var/lib/openmediavault/ssh/authorized_keys, so reading an
account back sees every key sshd would take.
This commit is contained in:
christianmanivong committed 2026-10-31 23:31:05 +01:00
1 parent 0545d1d814
commit 2846824a21
3 files changed
+23 -10

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ recorded here; their history is the git log.
the key files are read and written as the account itself, and the sudo rule is a
drop-in of its own, checked with `visudo` and `sudo -l`. A driver supplies the
commands that create, open and lock an account and take it out of a group, and may
replace where the keys are kept (`_account_read_keys`, `_account_add_key`,
replace where the keys are kept (`_account_key_files`, `_account_read_keys`, `_account_add_key`,
`_account_remove_keys`; default `~/.ssh/authorized_keys`) (NetOrk/netork#1793).
- `ARP_AGE_UNKNOWN` (`napalm_device_types.arp`, `-1.0`): the `age` a driver reports
in `get_arp_table` and `get_ipv6_neighbors_table` when the device does not say how