diff options
Diffstat (limited to 'app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff')
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff b/app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff new file mode 100644 index 000000000000..a634766f132f --- /dev/null +++ b/app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff @@ -0,0 +1,18 @@ +--- rkhunter.orig 2005-03-19 09:21:45.000000000 -0500 ++++ rkhunter 2005-03-19 09:20:24.000000000 -0500 +@@ -1,5 +1,6 @@ + #!/bin/bash + ++ + ################################################################################# + # + # Rootkit Hunter +@@ -3865,7 +3866,7 @@ + USER=`echo "${I}" | cut -d ':' -f1` + PASSWORD=`echo "${I}" | cut -d ':' -f2` + # Exclude NIS-user (+::::::) +- if [ ! ${USER} = "+" -a "${PASSWORD}" = "" ]; then ++ if [ ${USER} != "+" ] && [ "${PASSWORD}" = "" ]; then + FOUND=1 + logtext "Warning! Found passwordless account (${USER})" + logtext "Check this account and give it a password." |