SHA256
1
0
forked from pool/pam-config
pam-config/pam_config-0.81-pam_ssh.patch
Ismail Dönmez 97fb870b5b Accepting request 131586 from Linux-PAM
- make pam_ssh a sufficient auth module (bnc#730851) (forwarded request 130788 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/131586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam-config?expand=0&rev=56
2012-08-26 09:33:26 +00:00

29 lines
1.1 KiB
Diff

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,