Updated to add report to desktop

This commit is contained in:
Michael
2022-12-01 12:50:50 +00:00
parent 322fc80eb5
commit 3ac0daa216

View File

@@ -19,4 +19,7 @@ brew install git
git clone https://github.com/CISOfy/lynis
cd lynis
./lynis audit system -Q
./lynis audit system -Q --auditor="$AUDITORNAME" >> /Users/$(stat -f "%Su" /dev/console)/Desktop/MacReport.rtf
chmod 777 /var/log/lynis-report.dat