Skip to Content
Browse documentation

eenosavscanner — Command Reference

Scan hosting-account home directories with ClamAV and quarantine detected files.

Scan hosting-account home directories with ClamAV and quarantine detected files.

Requirements

Run as root on the Eenos server. /usr/bin/clamscan, current signatures and an existing Eenos account. Multiple usernames must be one comma-separated argument without spaces.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/eenosavscanner exampleuser

Arguments and options

SyntaxMeaning
USER[,USER...]One username or a comma-separated list as one argument. Detected files are moved to quarantine.

This uses a positional/legacy parser. Choose one operation and keep its value order. Do not assume argparse-style --option=value, option combinations or --help support.

Operational effects

Detected files are moved

This scanner quarantines detections. It can remove files from an active website; it is not a report-only scan.

Runs clamscan with --move: detected files can be moved out of the website into /var/lib/quarantine/USER. This is not a read-only scan and can affect applications.

Verify the result

Read /var/log/avscanner/USER.TIMESTAMP.log and /var/log/eenos/avscan.log. Review detections and quarantine contents before restoring any file.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Account & Server Maintenance · All command-line tools