Error RKHunter

Discussion in 'Installation/Configuration' started by BenM, Dec 18, 2024.

  1. BenM

    BenM Member

    New install on debian 12 with auto install ispconfig.
    After succesfull install and 1 day later:
    Check on system.
    Invalid MAIL_CMD configuration option: command is non-existent or not executable: mail

    So i install mail but then i get:
    Invalid WEB_CMD configuration option: Relative pathname: "/bin/false"

    Somebody fixed this problem?
     
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    see if there's a /etc/rkhunter.conf.local file and check what's set in there..

    MAIL_CMD, by default, should be :
    Code:
    MAIL_CMD=mail -s "[rkhunter] Warnings found for ${HOST_NAME}"
    
    and WEB_CMD should be:
    Code:
    WEB_CMD=""
    
     
  3. BenM

    BenM Member

    After some changes i did a
    rkhunter --check
    Drops an error
    Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /usr/bin/lwp-request

    This works on /etc/rkhunter.conf.local:
    WEB_CMD=""
    MAIL_CMD=mail -s "[rkhunter] Warnings found for ${HOST_NAME}"
    MAIL-ON-WARNING=root
    ALLOW_SSH_ROOT_USER=unset
    # SCRIPTWHITELIST=/usr/bin/lwp-request

    Thanks for your help
     

Share This Page