chore(release): 4.50.0
driver / lint (pull_request) Successful in 16s
driver / standard (pull_request) Successful in 20s
driver / types (pull_request) Successful in 1m3s
driver / test (3.13) (pull_request) Successful in 1m19s
driver / test (3.12) (pull_request) Successful in 1m24s
driver / lowest (pull_request) Successful in 45s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Failing after 1m2s
CI / driver (pull_request) Failing after 2m41s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 16s
driver / standard (pull_request) Successful in 20s
driver / types (pull_request) Successful in 1m3s
driver / test (3.13) (pull_request) Successful in 1m19s
driver / test (3.12) (pull_request) Successful in 1m24s
driver / lowest (pull_request) Successful in 45s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Failing after 1m2s
CI / driver (pull_request) Failing after 2m41s
driver / publish (pull_request) Skipped
This commit is contained in:
1 parent
91b939236f
commit
14217b6eeb
2 files changed
+22
-1
No files matched your search
@@ -7,6 +7,27 @@ recorded here; their history is the git log.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [4.50.0] - 2026-11-28
|
||||
|
||||
### Added
|
||||
- `LoginAccountsMixin.get_login_accounts()`: every account on a Linux host a person can
|
||||
log in with, read with one fixed, read-only command (NetOrk/netork#2707). Root and UID
|
||||
1000 on with a login shell (`login_capable`), from `/etc/passwd` -- name, UID, home and
|
||||
shell only, never the comment field; accounts from a directory are not there and not
|
||||
read. Each with its last login (ISO, UTC), where it came from and which tool told it:
|
||||
the newest of `lastlog2`, `lastlog`, `wtmpdb last` and `last`, so a host upgraded to
|
||||
lastlog2 or a desktop login only wtmp saw still reads right. Its password state
|
||||
(`passwd -S`: `set`, `locked`, `none`), password change, password and account expiry
|
||||
(`chage -l`: an ISO date, `never`, `must_change`), and `locked` -- the password locked or
|
||||
the account expired on the host's date. The failed attempts since the last login as a
|
||||
number: from `lastb` (the newest `FAILED_LOGINS_READ`, 1000, per account;
|
||||
`failed_logins_capped` when reached), else `pam_faillock`'s tally. `LC_ALL=C`, no stdin,
|
||||
no password hash read. Root first; where root is refused, as the login user, when the
|
||||
lock, the expiry and the failures are `None`. A driver supplies
|
||||
`_run_login_accounts_command(command, *, privileged)`.
|
||||
- `parse_login_accounts`, `LOGIN_ACCOUNTS_COMMAND`, `login_capable`, and the
|
||||
`LoginAccountDict` and `LoginAccountsDict` shapes (in `login_accounts`).
|
||||
|
||||
## [4.49.0] - 2026-11-28
|
||||
|
||||
### Added
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "napalm-device-types"
|
||||
version = "4.49.0"
|
||||
version = "4.50.0"
|
||||
description = "Abstract device-type base classes for NAPALM drivers"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
Reference in new issue
Block a user