Accepting request 135869 from Linux-PAM

- Update to pam-config 0.83:
  - Fix stacking of pam_unix
  - Add new pam_unix options
- Update to pam-config 0.82:
  - Use pam_unix and pam_cracklib as default on fresh installations.

OBS-URL: https://build.opensuse.org/request/show/135869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam-config?expand=0&rev=57
This commit is contained in:
Stephan Kulow 2012-09-26 08:10:32 +00:00 committed by Git OBS Bridge
parent 97fb870b5b
commit f50e1231c2
5 changed files with 17 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fef3efbd758ce564d938934894746553418277a4c7663ae6d5dd809bf55dd8e3
size 317404

3
pam-config-0.83.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4677f4f1cbfc36e7db5911c78bd0b01f50e777bde24c7a348526f74f29abe291
size 317892

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Sep 25 14:02:06 CEST 2012 - kukuk@suse.de
- Update to pam-config 0.83:
- Fix stacking of pam_unix
- Add new pam_unix options
-------------------------------------------------------------------
Thu Sep 20 14:58:56 CEST 2012 - kukuk@suse.de
- Use pam_unix and pam_cracklib as default on fresh installations.
-------------------------------------------------------------------
Tue Aug 14 13:02:09 UTC 2012 - vcizek@suse.com

View File

@ -20,13 +20,10 @@ Name: pam-config
Summary: Modify common PAM configuration files
License: GPL-2.0
Group: System/Management
Version: 0.81
Version: 0.83
Release: 0
BuildRequires: automake
PreReq: pam >= 0.99
Requires: pam-modules >= 10.2
Source: %{name}-%{version}.tar.bz2
Patch: pam_config-0.81-pam_ssh.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -40,7 +37,6 @@ add/adjust/remove other PAM modules and their options.
%prep
%setup -q
%patch
%build
%configure
@ -75,7 +71,7 @@ if [ $1 == 0 ]; then
if [ -f $dir/$pamd.pam-config-backup -a -L $dir/$pamd ]; then
rm -v $dir/$pamd && mv -v $dir/$pamd.pam-config-backup $dir/$pamd
fi
# common-*-pc are %ghost, so we have to move them away...
# common-*-pc are ghost, so we have to move them away...
if [ -f $dir/$pamd-pc ]; then
mv -v $dir/$pamd-pc $dir/$pamd-pc.bak
fi

View File

@ -1,28 +0,0 @@
Index: src/mod_pam_ssh.c
===================================================================
--- src/mod_pam_ssh.c 2012-08-06 16:39:19.000000000 +0200
+++ src/mod_pam_ssh.c 2012-08-14 14:52:14.649970973 +0200
@@ -44,7 +44,7 @@ write_config_ssh (pam_module_t *this, en
break;
case AUTH:
- fprintf (fp, "auth\toptional\tpam_ssh.so\ttry_first_pass ");
+ fprintf (fp, "auth\tsufficient\tpam_ssh.so\ttry_first_pass ");
break;
case SESSION:
Index: src/supported-modules.h
===================================================================
--- src/supported-modules.h 2012-08-06 16:59:11.000000000 +0200
+++ src/supported-modules.h 2012-08-14 14:55:27.022709610 +0200
@@ -100,8 +100,8 @@ static pam_module_t *module_list_auth[]
&mod_pam_fprint,
&mod_pam_fprintd,
&mod_pam_thinkfinger,
- &mod_pam_gnome_keyring,
- &mod_pam_ssh, /* optional modules MUST executed before sufficient modules which also need a password. */
+ &mod_pam_gnome_keyring, /* optional modules MUST be executed before sufficient modules which also need a password. */
+ &mod_pam_ssh,
&mod_pam_unix2,
&mod_pam_unix,
&mod_pam_ecryptfs,