Commit Graph

6 Commits

Author SHA256 Message Date
Thorsten Kukuk
e352b2c661 - Update to version 1.6.0
- Added support of configuration files with arbitrarily long lines.
  - build: fixed build outside of the source tree.
  - libpam: added use of getrandom(2) as a source of randomness if available.
  - libpam: fixed calculation of fail delay with very long delays.
  - libpam: fixed potential infinite recursion with includes.
  - libpam: implemented string to number conversions validation when parsing
    controls in configuration.
  - pam_access: added quiet_log option.
  - pam_access: fixed truncation of very long group names.
  - pam_canonicalize_user: new module to canonicalize user name.
  - pam_echo: fixed file handling to prevent overflows and short reads.
  - pam_env: added support of '\' character in environment variable values.
  - pam_exec: allowed expose_authtok for password PAM_TYPE.
  - pam_exec: fixed stack overflow with binary output of programs.
  - pam_faildelay: implemented parameter ranges validation.
  - pam_listfile: changed to treat \r and \n exactly the same in configuration.
  - pam_mkhomedir: hardened directory creation against timing attacks.
  - Please note that using *at functions leads to more open file handles
    during creation.
  - pam_namespace: fixed potential local DoS (CVE-2024-22365).
  - pam_nologin: fixed file handling to prevent short reads.
  - pam_pwhistory: helper binary is now built only if SELinux support is
    enabled.
  - pam_pwhistory: implemented reliable usernames handling when remembering
    passwords.
  - pam_shells: changed to allow shell entries with absolute paths only.
  - pam_succeed_if: fixed treating empty strings as numerical value 0.
  - pam_unix: added support of disabled password aging.
  - pam_unix: synchronized password aging with shadow.

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=280
2024-01-18 09:18:10 +00:00
Thorsten Kukuk
343fbe4278 Accepting request 931923 from home:sbrabec:branches:Base:System
- Update pam-login_defs-check.sh regexp and
  login_defs-support-for-pam symbol to version 1.5.2
  (new variable HMAC_CRYPTO_ALGO).

OBS-URL: https://build.opensuse.org/request/show/931923
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=253
2021-11-18 14:13:26 +00:00
Thorsten Kukuk
3aaba5773b - pam-login_defs-check.sh: adjust for new login.defs variable usages
pam_tally2 has been removed upstream, remove pam_tally2-removal.patch

- Update to version 1.5.2

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=247
2021-09-10 10:28:05 +00:00
Josef Möllers
ca72e1f704 Accepting request 840140 from home:sbrabec:branches:util-linux-multibuild
- pam-login_defs-check.sh: Fix the regexp to get a real variable
  list (boo#1164274).

OBS-URL: https://build.opensuse.org/request/show/840140
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=220
2020-10-08 08:51:25 +00:00
Josef Möllers
78441ed37b Accepting request 724569 from home:kukuk:branches:Linux-PAM
- encryption_method_nis.diff: obsolete, NIS clients shouldn't
  require DES anymore.
- etc.environment: removed, the sources contain the same

- Update to version 1.3.1+git20190807.e31dd6c:
  * pam_tty_audit: Manual page clarification about password logging
  * pam_get_authtok_verify: Avoid duplicate password verification
  * Mention that ./autogen.sh is needeed to be run if you check out the sources from git
  * pam_unix: Correct MAXPASS define name in the previous two commits.
  * Restrict password length when changing password
  * Trim password at PAM_MAX_RESP_SIZE chars
  * pam_succeed_if: Request user data only when needed
  * pam_tally2: Remove unnecessary fsync()
  * Fixed a grammer mistake
  * Fix documentation for pam_wheel
  * Fix a typo in the documentation
  * pam_lastlog: Improve silent option documentation
  * pam_lastlog: Respect PAM_SILENT flag
  * Fix regressions from the last commits.
  * Replace strndupa with strncpy
  * build: ignore pam_lastlog when logwtmp is not available.
  * build: ignore pam_rhosts if neither ruserok nor ruserok_af is available.
  * pam_motd: Cleanup the code and avoid unnecessary logging
  * pam_lastlog: Limit lastlog file use by LASTLOG_UID_MAX option in login.defs.
  * Move the duplicated search_key function to pam_modutil.
  * pam_unix: Use pam_syslog instead of helper_log_err.
  * pam_unix: Report unusable hashes found by checksalt to syslog.
  * Revert "pam_unix: Add crypt_default method, if supported."
  * pam_unix: Add crypt_default method, if supported.
  * Revert part of the commit 4da9febc

OBS-URL: https://build.opensuse.org/request/show/724569
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=191
2019-08-19 12:43:33 +00:00
Josef Möllers
bf578882d8 Accepting request 700497 from home:sbrabec:branches:util-linux-2.33.1
Depends on https://build.opensuse.org/request/show/700494!
- Add virtual symbols for login.defs compatibility (bsc#1121197).
- Add login.defs safety check pam-login_defs-check.sh
  (bsc#1121197).

OBS-URL: https://build.opensuse.org/request/show/700497
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=189
2019-05-06 07:09:44 +00:00