diff options
author | pyllyukko <pyllyukko AT maimed dot org> | 2013-06-05 12:03:18 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-06-05 12:03:18 -0400 |
commit | 52ef78e897bb46d93458d88762773384a5aa986e (patch) | |
tree | 54c12369337f1a3ed1edd80d30f4a3f226000d29 /system/tiger/patches/zappasswd.patch | |
parent | c515acb0700c884d6e53d0b20ae186842728f821 (diff) |
system/tiger: Updated with a few bug fixing patches.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/tiger/patches/zappasswd.patch')
-rw-r--r-- | system/tiger/patches/zappasswd.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/system/tiger/patches/zappasswd.patch b/system/tiger/patches/zappasswd.patch new file mode 100644 index 0000000000000..fdfabf8b0086e --- /dev/null +++ b/system/tiger/patches/zappasswd.patch @@ -0,0 +1,40 @@ +diff --git a/scripts/check_passwd b/scripts/check_passwd +index 9b58e72..8cb69be 100755 +--- a/scripts/check_passwd ++++ b/scripts/check_passwd +@@ -129,7 +129,7 @@ check_passwd_entries() + do + + # Check the password hash. +- [ -z "$Tiger_Passwd_Hashes" ] && Tiger_Passwd_Hashes='crypt3|md5|sha512|xxxxxxxxxxxxx' ++ [ -z "$Tiger_Passwd_Hashes" ] && Tiger_Passwd_Hashes='crypt3|md5|blowfish|sha256|sha512|xxxxxxxxxxxxx' + eval "case \"$hash\" in + \"\") + message FAIL pass011f \"\" \"Username \\\`$login' has an empty password field.\" +diff --git a/systems/Linux/2/gen_passwd_sets b/systems/Linux/2/gen_passwd_sets +index 908897c..f67ceef 100755 +--- a/systems/Linux/2/gen_passwd_sets ++++ b/systems/Linux/2/gen_passwd_sets +@@ -100,13 +100,19 @@ zappasswd() + \$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-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\./]) ++ \$2a\$*) ++ passwd="blowfish" ++ ;; ++ \$5\$*) ++ passwd="sha256" ++ ;; ++# For SHA512 passwds starting with $6$ (Linux) ++ \$6\$*) + passwd="sha512" + ;; + " ") passwd="" + ;; +- *|!!) ++ *|!!|!\*) + passwd="*" + ;; + esac |