get_login_sessions() through napalm-device-types' LoginSessionsMixin (4.55.0, NAPALM/napalm-device-types feature/login-sessions), for NetOrk/netork#2881.
The transport is an exec channel as the login user (run_command without privileged): wtmp is readable to everyone, and sudo would reset SSH_CONNECTION, which names the driver's own address.
OpenMediaVault and QNAP get it through LinuxDriver unchanged; a QNAP whose last is BusyBox's raises LoginSessionsUnavailable.
Requires napalm-device-types>=4.55.0. CI pre-installs device-types from its main branch, so this PR goes green once the device-types PR is merged.
`get_login_sessions()` through napalm-device-types' `LoginSessionsMixin` (4.55.0, NAPALM/napalm-device-types `feature/login-sessions`), for NetOrk/netork#2881.
- The transport is an exec channel as the login user (`run_command` without `privileged`): wtmp is readable to everyone, and sudo would reset `SSH_CONNECTION`, which names the driver's own address.
- OpenMediaVault and QNAP get it through `LinuxDriver` unchanged; a QNAP whose `last` is BusyBox's raises `LoginSessionsUnavailable`.
- Requires `napalm-device-types>=4.55.0`. CI pre-installs device-types from its main branch, so this PR goes green once the device-types PR is merged.
The interactive logins the host recorded, napalm-device-types' command on
an exec channel as the login user: wtmp is readable to everyone, and sudo
would drop SSH_CONNECTION, which names the driver's own address.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
get_login_sessions()through napalm-device-types'LoginSessionsMixin(4.55.0, NAPALM/napalm-device-typesfeature/login-sessions), for NetOrk/netork#2881.run_commandwithoutprivileged): wtmp is readable to everyone, and sudo would resetSSH_CONNECTION, which names the driver's own address.LinuxDriverunchanged; a QNAP whoselastis BusyBox's raisesLoginSessionsUnavailable.napalm-device-types>=4.55.0. CI pre-installs device-types from its main branch, so this PR goes green once the device-types PR is merged.