Merge feature/host-logins (4.51.0, on main's 4.50.0) into feature/live-kernel-patches
driver / standard (pull_request) Failing after 18s
driver / lint (pull_request) Successful in 14s
driver / types (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m22s
driver / lowest (pull_request) Successful in 41s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Failing after 58s
CI / driver (pull_request) Failing after 2m52s
driver / publish (pull_request) Skipped
driver / standard (pull_request) Failing after 18s
driver / lint (pull_request) Successful in 14s
driver / types (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m22s
driver / lowest (pull_request) Successful in 41s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Failing after 58s
CI / driver (pull_request) Failing after 2m52s
driver / publish (pull_request) Skipped
The live patches are 4.52.0 now.
This commit is contained in:
commit
780e4247a1
7 files changed
+165
-4
No files matched your search
@@ -371,6 +371,15 @@ login user and followed through `@include`, `include` and `substack`. Which of t
|
||||
second factor is the consumer's call. `Match` blocks are not read. `OpenSshServerMixin`
|
||||
carries it; a driver can also mix it in alone and supply `run_command`.
|
||||
|
||||
`login_sources` describes where a device checks a person's login, for platforms that try a
|
||||
login against a list of authentication servers and let in whatever the first one accepts
|
||||
(OPNsense). A driver that can read its web interface's list implements
|
||||
`get_web_login_auth() -> WebLoginAuthDict`: each source with its name, the device's word for
|
||||
its kind, and what it asks for (`password`, `password_otp`, `external` or `unknown`). Such a
|
||||
platform's `get_ssh_server_auth` may add `password_sources` (what checks an SSH password)
|
||||
and `server_enabled` (False when SSH is off) to `SshServerAuthDict`. Which source counts as
|
||||
a second factor is the consumer's call.
|
||||
|
||||
`SudoHistoryMixin` (`get_history_sudo_lines`, `remove_history_sudo_lines`) deals with what
|
||||
a driver left behind when it typed `echo '<password>' | sudo -S -p "" …` into an interactive
|
||||
shell: that line, password and all, in the login user's shell history, and files its partial
|
||||
|
||||
Reference in new issue
Block a user