mirror of
https://github.com/PurpleComputing/helpful-scripts.git
synced 2026-02-03 13:53:24 +00:00
added lockdown
This commit is contained in:
@@ -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)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user