SHA256
1
0
forked from pool/pam
Commit Graph

230 Commits

Author SHA256 Message Date
Dominique Leuenberger
34a306b1ac Accepting request 919240 from Linux-PAM
- Rename motd.tmpfiles to pam.tmpfiles
  - Add /run/faillock directory

- pam-login_defs-check.sh: adjust for new login.defs variable usages

- Update to 1.5.2
  Noteworthy changes in Linux-PAM 1.5.2:
  * pam_exec: implemented quiet_log option.
  * pam_mkhomedir: added support of HOME_MODE and UMASK from
    /etc/login.defs.
  * pam_timestamp: changed hmac algorithm to call openssl instead
    of the bundled sha1 implementation if selected, added option
    to select the hash algorithm to use with HMAC.
  * Added pkgconfig files for provided libraries.
  * Added --with-systemdunitdir configure option to specify systemd
    unit directory.
  * Added --with-misc-conv-bufsize configure option to specify the
    buffer size in libpam_misc's misc_conv() function, raised the
    default value for this parameter from 512 to 4096.
  * Multiple minor bug fixes, portability fixes, documentation
    improvements, and translation updates.
  pam_tally2 has been removed upstream, remove pam_tally2-removal.patch
  pam_cracklib has been removed from the upstream sources. This
  obsoletes pam-pam_cracklib-add-usersubstr.patch and
  pam_cracklib-removal.patch.
  The following patches have been accepted upstream and, so,
  are obsolete:
  - pam-bsc1181443-make-nofile-unlimited-mean-nr_open.patch
  - pam_securetty-don-t-complain-about-missing-config.patch
  - bsc1184358-prevent-LOCAL-from-being-resolved.patch

OBS-URL: https://build.opensuse.org/request/show/919240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=116
2021-09-20 21:31:43 +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
b84cd6c705 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=248 2021-09-10 11:49:52 +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
Richard Brown
ab4c48fada Accepting request 911843 from Linux-PAM
- 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]

- package man5/motd.5 as a man-pages link to man8/pam_motd.8
  [bsc#1188724]

OBS-URL: https://build.opensuse.org/request/show/911843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=115
2021-08-18 06:55:09 +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
Dominique Leuenberger
b414537429 Accepting request 906153 from Linux-PAM
Requested by dimstar

OBS-URL: https://build.opensuse.org/request/show/906153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=114
2021-07-17 21:36:20 +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
Dominique Leuenberger
c680360a30 Accepting request 902310 from Linux-PAM
- Create /run/motd.d (forwarded request 902295 from gmbr3)

OBS-URL: https://build.opensuse.org/request/show/902310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=113
2021-06-29 20:42:46 +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
Dominique Leuenberger
850b664d5a Accepting request 899928 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/899928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=112
2021-06-20 17:37:47 +00:00
Josef Möllers
9563615f52 Accepting request 899457 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/899457
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=239
2021-06-14 12:34:37 +00:00
Josef Möllers
9a6bc49f24 Accepting request 894273 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/894273
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=238
2021-05-25 06:24:45 +00:00
Josef Möllers
55bb007d97 Accepting request 892225 from home:jmoellers:branches:Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/892225
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=237
2021-05-17 06:51:34 +00:00
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