SHA256
1
0
forked from pool/pam
Commit Graph

212 Commits

Author SHA256 Message Date
Dominique Leuenberger
ab3a3e3593 Accepting request 883611 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/883611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=111
2021-04-14 08:09:27 +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
Richard Brown
5da065288f Accepting request 873577 from Linux-PAM
- Add missing conflicts for pam_unix-nis

- Split out pam_unix module and build without NIS support


- Add missing conflicts for pam_unix 

- Fix split provides and BuildRequires 
- Makefile-pam_unix-nis.diff: Link pam_unix-nis.so against outside
  pam library

- standalone pam_unix with NIS support

OBS-URL: https://build.opensuse.org/request/show/873577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=110
2021-02-22 13:22:42 +00:00
Thorsten Kukuk
fadf030a46 - Add missing conflicts for pam_unix-nis
- Add missing conflicts for pam_unix

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=234
2021-02-18 22:17:30 +00:00
Thorsten Kukuk
2d6d13afab Accepting request 872796 from home:kukuk:etc
- Makefile-pam_unix-nis.diff: Link pam_unix-nis.so against outside
  pam library

OBS-URL: https://build.opensuse.org/request/show/872796
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=233
2021-02-16 10:35:18 +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
Dominique Leuenberger
d9e1d25c3f Accepting request 856633 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/856633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=109
2020-12-21 09:22:01 +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
Dominique Leuenberger
c34d7c280a Accepting request 851278 from Linux-PAM
- 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/request/show/851278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=108
2020-12-03 17:37:59 +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
Dominique Leuenberger
5048cec3be Accepting request 849468 from Linux-PAM
- 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

- pam_cracklib: added code to check whether the password contains
  a substring of of the user's name of at least <N> characters length
  in some form.
  This is enabled by the new parameter "usersubstr=<N>"
  See bfef79dbe6
  [jsc#SLE-16719, jsc#SLE-16720, pam-pam_cracklib-add-usersubstr.patch]

- pam_xauth.c: do not free() a string which has been (successfully)
  passed to putenv().
  [bsc#1177858, pam-bsc1177858-dont-free-environment-string.patch]

- Initialize pam_unix pam_sm_acct_mgmt() local variable "daysleft"
  to avoid spurious (and misleading)

OBS-URL: https://build.opensuse.org/request/show/849468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=107
2020-11-23 14:36:12 +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
6c61940629 Accepting request 849441 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/849441
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=227
2020-11-19 13:56:42 +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
Dominique Leuenberger
8285106022 https://bugzilla.opensuse.org/show_bug.cgi?id=1177858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=106
2020-11-17 11:09:48 +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
Dominique Leuenberger
6d432fc7e2 Accepting request 847481 from Linux-PAM
- Enable pam_faillock [bnc#1171562]

- /usr/bin/xauth chokes on the old user's $HOME being on an NFS
  file system. Run /usr/bin/xauth using the old user's uid/gid
  Patch courtesy of Dr. Werner Fink.
  [bsc#1174593, pam-xauth_ownership.patch]

- pam-login_defs-check.sh: Fix the regexp to get a real variable
  list (boo#1164274).

- Revert the previous change [SR#815713].
  The group is not necessary for PAM functionality but used only
  during testing. The test system should therefore create this group.
  [bsc#1171016, pam.spec]

- Add requirement for group "wheel" to spec file.
  [bsc#1171016, pam.spec]

OBS-URL: https://build.opensuse.org/request/show/847481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=105
2020-11-15 14:17:04 +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
Dominique Leuenberger
9d79541e95 Revert: https://bugzilla.opensuse.org/show_bug.cgi?id=1177858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=104
2020-10-19 07:48:15 +00:00
Dominique Leuenberger
e304469c62 Accepting request 840210 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/840210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=103
2020-10-15 11:43:32 +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
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
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
Dominique Leuenberger
b658285f73 Accepting request 812631 from Linux-PAM
- Update to final 1.4.0 release
  - includes pam-check-user-home-dir.patch
  - obsoletes fix-man-links.dif

- common-password: remove pam_cracklib, as that is deprecated.

- pam_setquota.so:
  When setting quota, don't apply any quota if the user's $HOME is
  a mountpoint (ie the user has a partition of his/her own).
  [bsc#1171721, pam-check-user-home-dir.patch]

- Update to current Linux-PAM snapshot
  - pam_tally* and pam_cracklib got deprecated
- Disable pam_faillock and pam_setquota until they are whitelisted

- Adapted patch pam-hostnames-in-access_conf.patch for new version
  New version obsoleted patch use-correct-IP-address.patch
  [pam-hostnames-in-access_conf.patch,
   use-correct-IP-address.patch]

- Update to current Linux-PAM snapshot
  - Obsoletes pam_namespace-systemd.diff

- Update to current Linux-PAM snapshot
  - Add pam_faillock
  - 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

OBS-URL: https://build.opensuse.org/request/show/812631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=102
2020-06-14 16:13:10 +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
Thorsten Kukuk
5a8acbff55 - common-password: remove pam_cracklib, as that is deprecated.
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=215
2020-06-08 08:00:42 +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
Thorsten Kukuk
a9deb79ba9 - Add pam_faillock
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=212
2020-05-12 12:36:23 +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
a3260b7eb8 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=210 2020-05-12 12:09:42 +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
Dominique Leuenberger
4e39d2c3d0 Accepting request 791095 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/791095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=101
2020-04-08 17:54:02 +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
Dominique Leuenberger
7b5546a9aa Accepting request 788480 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/788480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=100
2020-03-31 15:31:17 +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
Dominique Leuenberger
2c66edf1c9 Accepting request 784597 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/784597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=99
2020-03-18 11:16:59 +00:00
Josef Möllers
646605de54 Accepting request 784596 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/784596
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=201
2020-03-13 10:05:34 +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
Dominique Leuenberger
f2d20048e7 Accepting request 779952 from Linux-PAM
- Recommend login.defs only (no hard requirement) (forwarded request 779951 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/779952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=98
2020-03-01 20:25:49 +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
Dominique Leuenberger
73e85b273e Accepting request 733124 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/733124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=97
2019-10-04 09:18:59 +00:00
Thorsten Kukuk
00eb197f1c Accepting request 733123 from home:kukuk:etc
OBS-URL: https://build.opensuse.org/request/show/733123
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=196
2019-09-25 10:24:12 +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
Dominique Leuenberger
87f5d03c6d Accepting request 725565 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/725565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=96
2019-09-07 09:24:03 +00:00