forked from pool/shadow
- Add ENCRYPT_METHOD_NIS for pam_unix.so (encryption_method_nis.diff)
OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=11
This commit is contained in:
parent
214efedae2
commit
d4599e2085
10
encryption_method_nis.diff
Normal file
10
encryption_method_nis.diff
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- lib/getdef.c
|
||||||
|
+++ lib/getdef.c 2013/11/12 13:44:01
|
||||||
|
@@ -57,6 +57,7 @@
|
||||||
|
{"CREATE_HOME", NULL},
|
||||||
|
{"DEFAULT_HOME", NULL},
|
||||||
|
{"ENCRYPT_METHOD", NULL},
|
||||||
|
+ {"ENCRYPT_METHOD_NIS", NULL},
|
||||||
|
{"ENV_PATH", NULL},
|
||||||
|
{"ENV_SUPATH", NULL},
|
||||||
|
{"ERASECHAR", NULL},
|
@ -290,12 +290,13 @@
|
|||||||
# If set to MD5 , MD5-based algorithm will be used for encrypting password
|
# If set to MD5 , MD5-based algorithm will be used for encrypting password
|
||||||
# If set to SHA256, SHA256-based algorithm will be used for encrypting password
|
# If set to SHA256, SHA256-based algorithm will be used for encrypting password
|
||||||
# If set to SHA512, SHA512-based algorithm will be used for encrypting password
|
# If set to SHA512, SHA512-based algorithm will be used for encrypting password
|
||||||
@@ -309,7 +176,7 @@
|
@@ -309,7 +176,8 @@
|
||||||
# Note: If you use PAM, it is recommended to use a value consistent with
|
# Note: If you use PAM, it is recommended to use a value consistent with
|
||||||
# the PAM modules configuration.
|
# the PAM modules configuration.
|
||||||
#
|
#
|
||||||
-#ENCRYPT_METHOD DES
|
-#ENCRYPT_METHOD DES
|
||||||
+ENCRYPT_METHOD SHA512
|
+ENCRYPT_METHOD SHA512
|
||||||
|
+ENCRYPT_METHOD_NIS DES
|
||||||
|
|
||||||
#
|
#
|
||||||
# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
|
# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 12 14:47:30 CET 2013 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Add ENCRYPT_METHOD_NIS for pam_unix.so (encryption_method_nis.diff)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 17 14:56:44 CEST 2013 - kukuk@suse.de
|
Tue Sep 17 14:56:44 CEST 2013 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ Patch6: shadow-4.1.5.1-manfix.patch
|
|||||||
Patch7: shadow-4.1.5.1-logmsg.patch
|
Patch7: shadow-4.1.5.1-logmsg.patch
|
||||||
Patch8: shadow-4.1.5.1-errmsg.patch
|
Patch8: shadow-4.1.5.1-errmsg.patch
|
||||||
Patch9: shadow-4.1.5.1-backup-mode.patch
|
Patch9: shadow-4.1.5.1-backup-mode.patch
|
||||||
|
Patch10: encryption_method_nis.diff
|
||||||
BuildRequires: audit-devel
|
BuildRequires: audit-devel
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
@ -67,6 +68,7 @@ group accounts.
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p0
|
%patch8 -p0
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
|
%patch10 -p0
|
||||||
|
|
||||||
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
|
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
|
||||||
mv -v doc/HOWTO.utf8 doc/HOWTO
|
mv -v doc/HOWTO.utf8 doc/HOWTO
|
||||||
|
Loading…
Reference in New Issue
Block a user