#794315 rkhunter: Path names not working in PORT_WHITELIST

#794315#5
Date:
2015-08-01 08:27:10 UTC
From:
To:
Dear Maintainer,

The PORT_WHITELIST option related to the hidden_ports test seems to fail when an executable path name is specified.
The documentation mentions the ability to filter by executable. I used the proposed sample option from the configuration file which fails with the following error:
Invalid entry specified in PORT_WHITELIST configuration option: /home/user1/abc
Invalid entry specified in PORT_WHITELIST configuration option: /opt/xyz

Please note that the issue occurs as well with a  valid executable:
# rkhunter --enable-tests hidden_ports
Invalid entry specified in PORT_WHITELIST configuration option: /bin/ls