Commit Graph

136 Commits

Author SHA256 Message Date
Thorsten Kukuk
d59ee3f1e1 - Move PAM config files from /usr/etc/pam.d to /usr/lib/pam.d
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=260
2022-06-01 11:43:49 +00:00
Thorsten Kukuk
656f9b5474 Accepting request 961064 from home:kukuk:tiu
- pam-hostnames-in-access_conf.patch: update with upstream
  submission. Fixes several bugs including memory leaks.
- Move group.conf and faillock.conf to /usr/etc/security
- Update to current git for enhanced vendordir support (pam-git.diff)
  Obsoletes:
  - 0001-Include-pam_xauth_data.3.xml-in-source-archive-400.patch
  - 0002-Only-include-vendordir-in-manual-page-if-set-401.patch
  - 0003-Use-vendor-specific-limits.conf-as-fallback-402.patch

OBS-URL: https://build.opensuse.org/request/show/961064
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=259
2022-03-11 11:29:42 +00:00
Thorsten Kukuk
945f25a7ae Accepting request 940243 from home:kukuk:tiu
- Drop pam_umask-usergroups-login_defs.patch, does more harm
  than helps. If not explizit specified as module option, we
  use UMASK from login.defs unmodified.

OBS-URL: https://build.opensuse.org/request/show/940243
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=258
2021-12-13 13:17:12 +00:00
Thorsten Kukuk
4b7b9d93e4 Accepting request 934493 from home:kukuk:tiu
- Don't define doc/manpages packages in main build

OBS-URL: https://build.opensuse.org/request/show/934493
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=257
2021-11-29 09:46:08 +00:00
Thorsten Kukuk
3139982e02 Accepting request 933454 from home:kukuk:tiu
- Add missing recommends and split provides

OBS-URL: https://build.opensuse.org/request/show/933454
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=255
2021-11-24 14:34:36 +00:00
Thorsten Kukuk
30c0969bef Accepting request 933444 from home:kukuk:tiu
- Use multibuild to build docu with correct paths and available
  features.
- common-session: move pam_systemd to first position as if the
  file would have been generated with pam-config
- Add vendordir fixes and enhancements from upstream:
  - 0001-Include-pam_xauth_data.3.xml-in-source-archive-400.patch
  - 0002-Only-include-vendordir-in-manual-page-if-set-401.patch
  - 0003-Use-vendor-specific-limits.conf-as-fallback-402.patch

OBS-URL: https://build.opensuse.org/request/show/933444
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=254
2021-11-24 13:43:37 +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
bdff5d34ca - Rename motd.tmpfiles to pam.tmpfiles
- Add /run/faillock directory

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=249
2021-09-15 13:55:27 +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
Thorsten Kukuk
dc65a6a40a Accepting request 917897 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/917897
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=246
2021-09-10 09:48:01 +00:00
Thorsten Kukuk
c6cae773e2 - pam_umask-usergroups-login_defs.patch: Deprecate pam_umask
explicit "usergroups" option and instead read it from login.def's
  "USERGROUP_ENAB" option if umask is only defined there.
  [bsc#1189139]

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=245
2021-08-12 14:45:10 +00:00
Thorsten Kukuk
39b8fe8e87 Accepting request 909931 from home:pgajdos
- package man5/motd.5 as a man-pages link to man8/pam_motd.8
  [bsc#1188724]

OBS-URL: https://build.opensuse.org/request/show/909931
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=244
2021-08-09 08:32:39 +00:00
Thorsten Kukuk
4139f4902b OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=243 2021-07-13 13:53:02 +00:00
Thorsten Kukuk
0fc7ab76cc - revert-check_shadow_expiry.diff: revert wrong
CRYPT_SALT_METHOD_LEGACY check.

- revert-check_shadow_expiry.diff: revert wrong
  CRYPT_SALT_METHOD_LEGACY check.

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=242
2021-07-13 13:43:07 +00:00
Thorsten Kukuk
089ed3e485 Accepting request 903070 from home:lnussel:usrmove
- Remove legacy pre-usrmerge compat code (removed pam-usrmerge.diff)
- Backport patch to not install /usr/etc/securetty (boo#1033626) ie
  no distro defaults and don't complain about it missing
  (pam_securetty-don-t-complain-about-missing-config.patch)
- add debug bcond to be able to build pam with debug output easily
- add macros file to allow other packages to stop hardcoding
  directory names. Compatible with Fedora.

- Remove usrmerged conditional as it's now the default

OBS-URL: https://build.opensuse.org/request/show/903070
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=241
2021-07-09 12:12:20 +00:00
Josef Möllers
dd0389449b Accepting request 902295 from home:gmbr3:Active
- Create /run/motd.d

OBS-URL: https://build.opensuse.org/request/show/902295
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=240
2021-06-25 09:44:49 +00:00
Thorsten Kukuk
24e9b7b6ee Accepting request 883597 from home:jmoellers:branches:Linux-PAM
bsc1184358

OBS-URL: https://build.opensuse.org/request/show/883597
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=236
2021-04-07 13:01:25 +00:00
Josef Möllers
9080c178e7 Accepting request 882509 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/882509
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=235
2021-04-01 08:02:50 +00:00
Thorsten Kukuk
5e8c266a79 Accepting request 872794 from home:kukuk:etc
- Split out pam_unix module and build without NIS support


- Fix split provides and BuildRequires 

- standalone pam_unix with NIS support

OBS-URL: https://build.opensuse.org/request/show/872794
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=232
2021-02-16 10:28:19 +00:00
Thorsten Kukuk
9f34df244a Accepting request 854846 from home:lnussel:usrmove
Actually apply patch

OBS-URL: https://build.opensuse.org/request/show/854846
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=231
2020-12-17 08:06:56 +00:00
Thorsten Kukuk
070ad9f4c2 Accepting request 851800 from home:lnussel:usrmove
- add macros.pam to abstract directory for pam modules 

- prepare usrmerge (boo#1029961, pam-usrmerge.diff)

OBS-URL: https://build.opensuse.org/request/show/851800
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=230
2020-12-03 13:58:29 +00:00
Thorsten Kukuk
34431add7d - Update to 1.5.1
- pam_unix: fixed CVE-2020-27780 - authentication bypass when a user
    doesn't exist and root password is blank [bsc#1179166]
  - pam_faillock: added nodelay option to not set pam_fail_delay
  - pam_wheel: use pam_modutil_user_in_group to check for the group membership
    with getgrouplist where it is available

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=229
2020-11-27 09:37:31 +00:00
Thorsten Kukuk
c4daf63ae5 - Update to 1.5.0
- obsoletes pam-bsc1178727-initialize-daysleft.patch
  - Multiple minor bug fixes, portability fixes, and documentation improvements.
  - Extended libpam API with pam_modutil_check_user_in_passwd function.
  - pam_faillock: changed /run/faillock/$USER permissions from 0600 to 0660.
  - pam_motd: read motd files with target user credentials skipping unreadable ones.
  - pam_pwhistory: added a SELinux helper executable.
  - pam_unix, pam_usertype: implemented avoidance of certain timing attacks.
  - pam_wheel: implemented PAM_RUSER fallback for the case when getlogin fails.
  - pam_env: Reading of the user environment is deprecated and will be removed
             at some point in the future.
  - libpam: pam_modutil_drop_priv() now correctly sets the target user's
    supplementary groups, allowing pam_motd to filter messages accordingly
- Refresh pam-xauth_ownership.patch
- pam_tally2-removal.patch: Re-add pam_tally2 for deprecated sub-package
- pam_cracklib-removal.patch: Re-add pam_cracklib for deprecated sub-package

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=228
2020-11-19 15:52:27 +00:00
Josef Möllers
94ef2ca6a9 Accepting request 849367 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/849367
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=226
2020-11-19 11:13:17 +00:00
Josef Möllers
e0f485fa5c Accepting request 848315 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/848315
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=225
2020-11-16 14:19:30 +00:00
Thorsten Kukuk
f65a31291f - Enable pam_faillock [bnc#1171562]
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=224
2020-11-10 12:23:49 +00:00
Josef Möllers
51190216f3 Accepting request 840209 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/840209
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=221
2020-10-08 09:10:15 +00:00
Thorsten Kukuk
daeda00e6c Accepting request 817074 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/817074
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=219
2020-06-29 14:11:14 +00:00
Josef Möllers
7ecc0544d0 Accepting request 815713 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/815713
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=218
2020-06-22 13:29:55 +00:00
Thorsten Kukuk
8c2c162984 - Update to final 1.4.0 release
- includes pam-check-user-home-dir.patch
  - obsoletes fix-man-links.dif

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=216
2020-06-08 13:50:31 +00:00
Josef Möllers
3c370e0e45 Accepting request 811145 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/811145
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=214
2020-06-08 06:48:10 +00:00
Thorsten Kukuk
00f1294879 - Update to current Linux-PAM snapshot
- pam_tally* and pam_cracklib got deprecated
- Disable pam_faillock and pam_setquota until they are whitelisted

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=213
2020-05-27 09:48:06 +00:00
Josef Möllers
d205252584 Accepting request 802957 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/802957
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=211
2020-05-12 12:19:16 +00:00
Thorsten Kukuk
868d149bc4 - Update to current Linux-PAM snapshot
- Obsoletes pam_namespace-systemd.diff

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=209
2020-05-12 11:32:07 +00:00
Thorsten Kukuk
db3a5fbd69 - Update to current Linux-PAM snapshot
- Multiple minor bug fixes and documentation improvements
  - Fixed grammar of messages printed via pam_prompt
  - Added support for a vendor directory and libeconf
  - configure: Allowed disabling documentation through --disable-doc
  - pam_get_authtok_verify: Avoid duplicate password verification
  - pam_env: Changed the default to not read the user .pam_environment file
  - pam_group, pam_time: Fixed logical error with multiple ! operators
  - pam_keyinit: In pam_sm_setcred do the same as in pam_sm_open_session
  - pam_lastlog: Do not log info about failed login if the session was opened
                 with PAM_SILENT flag
  - pam_lastlog: Limit lastlog file use by LASTLOG_UID_MAX option in login.defs
  - pam_lastlog: With 'unlimited' option prevent SIGXFSZ due to reduced 'fsize'
                 limit
  - pam_motd: Export MOTD_SHOWN=pam after showing MOTD
  - pam_motd: Support multiple motd paths specified, with filename overrides
  - pam_namespace: Added a systemd service, which creates the namespaced
                   instance parent directories during boot
  - pam_namespace: Support for noexec, nosuid and nodev flags for tmpfs mounts
  - pam_shells: Recognize /bin/sh as the default shell
  - pam_succeed_if: Support lists in group membership checks
  - pam_tty_audit: If kernel audit is disabled return PAM_IGNORE
  - pam_umask: Added new 'nousergroups' module argument and allowed specifying
               the default for usergroups at build-time
  - pam_unix: Added 'nullresetok' option to allow resetting blank passwords
  - pam_unix: Report unusable hashes found by checksalt to syslog
  - pam_unix: Support for (gost-)yescrypt hashing methods
  - pam_unix: Use bcrypt b-variant when it bcrypt is chosen
  - pam_usertype: New module to tell if uid is in login.defs ranges
  - Added new API call pam_start_confdir() for special applications that

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=208
2020-05-12 09:30:59 +00:00
Thorsten Kukuk
6726b029b0 Accepting request 790925 from home:lnussel:branches:Linux-PAM
- own /usr/lib/motd.d/ so other packages can add files there

OBS-URL: https://build.opensuse.org/request/show/790925
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=206
2020-04-03 06:26:25 +00:00
Thorsten Kukuk
eb2d7193a4 Accepting request 788262 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/788262
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=204
2020-03-26 10:22:45 +00:00
Thorsten Kukuk
43d953ce34 Accepting request 786905 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/786905
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=203
2020-03-21 15:44:00 +00:00
Josef Möllers
5d430d6c09 Accepting request 784373 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/784373
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=200
2020-03-12 17:33:26 +00:00
Thorsten Kukuk
cf68a1d155 Accepting request 779951 from home:kukuk:container
- Recommend login.defs only (no hard requirement)

OBS-URL: https://build.opensuse.org/request/show/779951
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=198
2020-02-27 14:49:37 +00:00
Thorsten Kukuk
2a42ae9f1f Accepting request 733118 from home:kukuk:etc
- Update to version 1.3.1+git20190923.ea78d67:
  * Fixed missing quotes in configure script
  * Add support for a vendor directory and libeconf (#136)
  * pam_lastlog: document the 'unlimited' option
  * pam_lastlog: prevent crash due to reduced 'fsize' limit
  * pam_unix_sess.c add uid for opening session
  * Fix the man page for "pam_fail_delay()"
  * Fix a typo
  * Update a function comment
- drop usr-etc-support.patch (accepted upstream)

- Add migration support from /etc to /usr/etc during upgrade

- Update to version 1.3.1+git20190902.9de67ee:
  * pwhistory: fix read of uninitialized data and memory leak when modifying opasswd

- Update to version 1.3.1+git20190826.1b087ed:
  * libpam/pam_modutil_sanitize.c: optimize the way to close fds

OBS-URL: https://build.opensuse.org/request/show/733118
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=195
2019-09-25 10:16:25 +00:00
Josef Möllers
9b6fc55e33 Accepting request 725419 from home:jengelh:branches:Linux-PAM
- Replace old $RPM_* shell vars by macros.
- Avoid unnecessary invocation of subshells.
- Shorten recipe for constructing securetty contents on s390.

OBS-URL: https://build.opensuse.org/request/show/725419
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=193
2019-08-23 12:39:21 +00:00
Thorsten Kukuk
8952f5370e Accepting request 725009 from home:kukuk:etc
Add /usr/etc/pam.d directory and read from it.

OBS-URL: https://build.opensuse.org/request/show/725009
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=192
2019-08-21 11:20:26 +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
Josef Möllers
c0c76f0a22 Accepting request 649542 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/649542
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=186
2018-11-16 17:08:18 +00:00
Josef Möllers
93d4e897d1 Accepting request 643661 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/643661
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=184
2018-10-22 12:46:59 +00:00
Josef Möllers
a5f3c5b6d5 Accepting request 631383 from home:psimons:branches:Linux-PAM
Add libdb as build-time dependency to enable pam_userdb module.
This module is useful for implementing virtual user support for
vsftpd and possibly other daemons, too. [bsc#929711, fate#322538]

OBS-URL: https://build.opensuse.org/request/show/631383
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=182
2018-08-24 14:33:21 +00:00
Josef Möllers
0aad24ee3c OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=181 2018-08-24 14:29:54 +00:00
Josef Möllers
d323a04890 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=180 2018-08-24 14:25:24 +00:00