Question: Instructions Copy the following scripts you wrote in the previous exercise to the appropriate cron directories in / etc . Specifically, your scripts should run

Instructions
Copy the following scripts you wrote in the previous exercise to the appropriate cron directories in /etc. Specifically, your scripts should run at the following intervals:
backup.sh should run weekly.
update.sh should run weekly.
In addition to scheduling the above tasks, you should perform regular security scans to ensure your system hasn't been compromised.
Create a script called lynis.system.sh in your ~/Security_scripts directory.
Write a command that will run a full-system scan using Lynis every week, and saves the results in /tmp/lynis.system_scan.log.
Create a script called lynis.partial.sh.
Write a command that will use lynis to run daily scans for the test groups: malware, authentication, networking, storage, and filesystems, and saves the results in /tmp/lynis.partial_scan.log.
Add both lynis scripts that you just wrote to the root crontab to create the tasks.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!