mirror of
https://github.com/PurpleComputing/helpful-scripts.git
synced 2026-02-03 13:53:24 +00:00
split 2
This commit is contained in:
@@ -16,11 +16,6 @@ mkdir -p /tmp/PurpleAudit/Log
|
||||
|
||||
cd /tmp/PurpleAudit
|
||||
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
brew install git
|
||||
brew install python3
|
||||
|
||||
git clone https://github.com/CISOfy/lynis
|
||||
cd lynis
|
||||
sudo ./lynis audit system -Q --auditor "$AUDITORNAME" >> $REPORTOUTPUT
|
||||
@@ -31,4 +26,4 @@ sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/PurpleComputing/hel
|
||||
sudo chmod 777 /var/log/lynis-report.dat
|
||||
sudo chmod 777 $REPORTOUTPUT
|
||||
|
||||
rm -rf /tmp/PurpleAudit
|
||||
rm -rf /tmp/PurpleAudit
|
||||
|
||||
Reference in New Issue
Block a user