I'm receiving the following errors when I run rkhunter:
Checking application versions...
Checking version of GnuPG [ OK ]
Checking version of Bind DNS [ OK ]
Checking version of OpenSSL [ OK ]
/usr/bin/rkhunter: line 10015: [: -eq: unary operator expected
/usr/bin/rkhunter: line 10018: [: -eq: unary operator expected
Checking version of PHP [ OK ]
Checking version of 0 [ Skipped ]
Checking version of Procmail MTA [ OK ]
Checking version of ProFTPd [ OK ]
Checking version of OpenSSH [ OK ]
I've seen a couple of other similar issues reported and in most cases
the submitters have been asked to run 'rkhunter --debug --enable
apps'. The pertinent information seems to be:
+ APPLICATION=php
++ echo php%PHP%Warning:
++ cut -d% -f2
+ APPLICATION_DESC=PHP
++ echo php%PHP%Warning:
++ cut -d% -f3
+ VERSION=Warning:
+ '[' -z Warning: ']'
+ '[' Warning: = -1 ']'
++ echo php%PHP%Warning:
++ cut -d% -f4
+ ISBAD=
+ '[' -eq -1 ']'
/usr/bin/rkhunter: line 10015: [: -eq: unary operator expected
+ '[' -eq 1 ']'
/usr/bin/rkhunter: line 10018: [: -eq: unary operator expected
+ display --to SCREEN+LOG --type PLAIN --result OK --color GREEN
--log-indent 2 --screen-indent 4 APPS_CHECK PHP
Any suggestions for what do to to fix this? I can send the entire log
file if that will help - just let me know who to send it to.
Thanks,
-Steve
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users