mirror of
https://github.com/PurpleComputing/helpful-scripts.git
synced 2026-02-03 05:43:24 +00:00
added additional sudos
This commit is contained in:
@@ -7,8 +7,8 @@ LOGFILE="audit.log"
|
||||
LOGDIR="/tmp/PurpleAudit/Log"
|
||||
REPORTOUTPUT=/Users/$(stat -f "%Su" /dev/console)/Desktop/MacReport.txt
|
||||
|
||||
rm -f $REPORTOUTPUT
|
||||
rm -rf /tmp/PurpleAudit
|
||||
sudo rm -f $REPORTOUTPUT
|
||||
sudo rm -rf /tmp/PurpleAudit
|
||||
export AUDITORNAME LOGDIR LOGFILE REPORTFILE
|
||||
|
||||
mkdir /tmp/PurpleAudit
|
||||
|
||||
Reference in New Issue
Block a user