mirror of
https://github.com/PurpleComputing/helpful-scripts.git
synced 2026-06-11 01:20:31 +01:00
added sudos
This commit is contained in:
@@ -24,7 +24,7 @@ git clone https://github.com/CISOfy/lynis
|
||||
cd lynis
|
||||
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 chmod 777 /var/log/lynis-report.dat
|
||||
sudo 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