mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
52ef78e897
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
34 lines
2.9 KiB
Diff
34 lines
2.9 KiB
Diff
Index: scripts/check_passwd
|
|
===================================================================
|
|
RCS file: /sources/tiger/tiger/scripts/check_passwd,v
|
|
retrieving revision 1.24
|
|
diff -u -r1.24 check_passwd
|
|
--- scripts/check_passwd 27 Aug 2007 18:30:44 -0000 1.24
|
|
+++ scripts/check_passwd 12 May 2010 06:23:57 -0000
|
|
@@ -129,7 +129,7 @@
|
|
do
|
|
|
|
# Check the password hash.
|
|
- [ -z "$Tiger_Passwd_Hashes" ] && Tiger_Passwd_Hashes='crypt3|md5|xxxxxxxxxxxxx'
|
|
+ [ -z "$Tiger_Passwd_Hashes" ] && Tiger_Passwd_Hashes='crypt3|md5|sha512|xxxxxxxxxxxxx'
|
|
eval "case \"$hash\" in
|
|
\"\")
|
|
message FAIL pass011f \"\" \"Username \\\`$login' has an empty password field.\"
|
|
Index: systems/Linux/2/gen_passwd_sets
|
|
===================================================================
|
|
RCS file: /sources/tiger/tiger/systems/Linux/2/gen_passwd_sets,v
|
|
retrieving revision 1.16
|
|
diff -u -r1.16 gen_passwd_sets
|
|
--- systems/Linux/2/gen_passwd_sets 4 Aug 2005 08:48:15 -0000 1.16
|
|
+++ systems/Linux/2/gen_passwd_sets 12 May 2010 06:23:57 -0000
|
|
@@ -96,6 +96,10 @@
|
|
\$1\$[a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./]\$[a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./])
|
|
passwd="md5"
|
|
;;
|
|
+# For SHA512 passwds (98 chars) starting with $6$ (Linux)
|
|
+ \$6\$[a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z0-9\./][a-zA-Z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