Skip to content

Commit

Permalink
adding cis-finder.plist
Browse files Browse the repository at this point in the history
setting EmptyTrashSecurely to 1
  • Loading branch information
krispayne committed Feb 19, 2016
1 parent 6d66aa7 commit 8a70647
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ElCapitan_CIS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ systemPreferences() {
# 2.10 Java 6 is not the default Java runtime

# 2.11 Securely delete files as needed (Recommended)
# Need to re-work this into either configuration profile or User Template.
# user cis-finder.plist in a configuration profile
# /usr/bin/defaults write ~/Library/Preferences/com.apple.finder EmptyTrashSecurely 1
sleep 5
}
Expand Down
8 changes: 8 additions & 0 deletions cis-finder.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EmptyTrashSecurely</key>
<integer>1</integer>
</dict>
</plist>

0 comments on commit 8a70647

Please sign in to comment.