- Use pam_unix and pam_cracklib as default on fresh installations.
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam-config?expand=0&rev=58
This commit is contained in:
parent
b5ef920599
commit
96115e4448
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fef3efbd758ce564d938934894746553418277a4c7663ae6d5dd809bf55dd8e3
|
|
||||||
size 317404
|
|
3
pam-config-0.82.tar.bz2
Normal file
3
pam-config-0.82.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ebab5cd2b3501bb07b3754c60af8f39e06e76cd9e338f00cbeef9d1441b79cdb
|
||||||
|
size 317472
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Tue Aug 14 13:02:09 UTC 2012 - vcizek@suse.com
|
||||||
|
|
||||||
|
@ -20,13 +20,10 @@ Name: pam-config
|
|||||||
Summary: Modify common PAM configuration files
|
Summary: Modify common PAM configuration files
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Version: 0.81
|
Version: 0.82
|
||||||
Release: 0
|
Release: 0
|
||||||
BuildRequires: automake
|
|
||||||
PreReq: pam >= 0.99
|
PreReq: pam >= 0.99
|
||||||
Requires: pam-modules >= 10.2
|
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch: pam_config-0.81-pam_ssh.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,7 +37,6 @@ add/adjust/remove other PAM modules and their options.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -75,7 +71,7 @@ if [ $1 == 0 ]; then
|
|||||||
if [ -f $dir/$pamd.pam-config-backup -a -L $dir/$pamd ]; 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
|
rm -v $dir/$pamd && mv -v $dir/$pamd.pam-config-backup $dir/$pamd
|
||||||
fi
|
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
|
if [ -f $dir/$pamd-pc ]; then
|
||||||
mv -v $dir/$pamd-pc $dir/$pamd-pc.bak
|
mv -v $dir/$pamd-pc $dir/$pamd-pc.bak
|
||||||
fi
|
fi
|
||||||
|
@ -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,
|
|
Loading…
Reference in New Issue
Block a user