added lockdown

This commit is contained in:
Michael
2022-12-01 13:35:35 +00:00
parent 22e12936bb
commit 074b80c804

View File

@@ -21,8 +21,9 @@ brew install python@3.8
git clone https://github.com/CISOfy/lynis
cd lynis
./lynis audit system -Q --auditor "$AUDITORNAME" >> $REPORTOUTPUT
./lynis audit system --pentest --auditor "$AUDITORNAME" >> $REPORTOUTPUT
sudo ./lynis audit system -Q --auditor "$AUDITORNAME" >> $REPORTOUTPUT
sudo ./lynis audit system --pentest --auditor "$AUDITORNAME" >> $REPORTOUTPUT
chmod 777 /var/log/lynis-report.dat
chmod 777 $REPORTOUTPUT
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/SecScripts/test-lockdown.sh)"