get_login_accounts() through napalm-device-types' LoginAccountsMixin (4.51.0, NAPALM/napalm-device-types feature/host-logins): every account on the host a person can log in with, its last login, lock and expiry, and the failed attempts since its last login (NetOrk/netork#2707).
The transport runs the shared, read-only command on an exec channel (a full btmp makes a long report), as root first and as the login user where root is refused. Rides along in _readings.py like the hardening transport, so linux.py does not grow. OpenMediaVault and QNAP have it through LinuxDriver.
Depends on napalm-device-types 4.51.0 (>=4.51.0); renumbered after v4.50.0 went to device-types #140. Tests: TestGetLoginAccounts in tests/test_linux.py.
Version: 0.21.0, the next free version after the v0.20.0 tag. Note: NAPALM/napalm-linux#88 still claims 0.20.0 and is to be bumped by whoever merges it; this PR does not touch it.
`get_login_accounts()` through napalm-device-types' `LoginAccountsMixin` (4.51.0, NAPALM/napalm-device-types feature/host-logins): every account on the host a person can log in with, its last login, lock and expiry, and the failed attempts since its last login (NetOrk/netork#2707).
The transport runs the shared, read-only command on an exec channel (a full btmp makes a long report), as root first and as the login user where root is refused. Rides along in `_readings.py` like the hardening transport, so `linux.py` does not grow. OpenMediaVault and QNAP have it through `LinuxDriver`.
Depends on napalm-device-types 4.51.0 (`>=4.51.0`); renumbered after v4.50.0 went to device-types #140. Tests: `TestGetLoginAccounts` in `tests/test_linux.py`.
Version: 0.21.0, the next free version after the v0.20.0 tag. Note: NAPALM/napalm-linux#88 still claims 0.20.0 and is to be bumped by whoever merges it; this PR does not touch it.
The transport runs the shared, read-only command on an exec channel, as root
first for the lock, the expiry and the failed logins, and as the login user
where root is refused.
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_accounts()through napalm-device-types'LoginAccountsMixin(4.51.0, NAPALM/napalm-device-types feature/host-logins): every account on the host a person can log in with, its last login, lock and expiry, and the failed attempts since its last login (NetOrk/netork#2707).The transport runs the shared, read-only command on an exec channel (a full btmp makes a long report), as root first and as the login user where root is refused. Rides along in
_readings.pylike the hardening transport, solinux.pydoes not grow. OpenMediaVault and QNAP have it throughLinuxDriver.Depends on napalm-device-types 4.51.0 (
>=4.51.0); renumbered after v4.50.0 went to device-types #140. Tests:TestGetLoginAccountsintests/test_linux.py.Version: 0.21.0, the next free version after the v0.20.0 tag. Note: NAPALM/napalm-linux#88 still claims 0.20.0 and is to be bumped by whoever merges it; this PR does not touch it.