Function server_forge::security::setup_rootkit_detection

source ·
pub fn setup_rootkit_detection(config: &Config) -> Result<(), Box<dyn Error>>
Expand description

Sets up rootkit detection tools (rkhunter and chkrootkit).

This function installs rkhunter and chkrootkit, then updates the rkhunter database.

§Arguments

  • config - A reference to the Config struct (unused in the current implementation)

§Errors

Returns an error if installation or configuration of rootkit detection tools fails