Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
/Library/Application\ Support/JAMF/bin/Management\ Action.app/Contents/MacOS/Management\ Action -title | |
"Update MS Office 2016 O365" -subtitle "MS Office 2016 64-bit v15.25.0" -message "is available for update | |
in Self Service." |
#!/bin/bash | |
# Set up log file, folder and function | |
LOGFOLDER="/private/var/log/gov.fnal" | |
LOG=$LOGFOLDER"/Office-2016-Install.log" | |
error=0 | |
if [ ! -d "$LOGFOLDER" ]; |
#!/bin/bash | |
# Author : Chris Sheppard | |
# Set up log file, folder and function | |
LOGFOLDER="/private/var/log/gov.fnal" | |
LOG=$LOGFOLDER"/OneDrive-2016-Install.log" | |
error=0 |
#!/bin/bash | |
# Script to detect if a computer has a local admin account on it with an UID of above 500 | |
# Initialize array | |
list=() | |
# generate user list of users with UID greater than 500 |
#!/bin/bash | |
rootCheck=`dscl . read /Users/root | grep AuthenticationAuthority 2>&1 > /dev/null ; echo $?` | |
if [ "${rootCheck}" == 1 ]; then | |
echo "<result>Disabled</result>" | |
else |
rm -rf /Volumes/Macintosh\ HD/private/var/db/BootCache* | |
rm -rf /Volumes/Macintosh\ HD/Library/Caches/com.apple* | |
defaults write /Volumes/Macintosh\ HD/Library/Preferences/com.apple.loginwindow.plist DSBindTimeout -int 10 | |
shutdown -r now | |
-N Do not ask for a password. At run time, mount_smbfs reads the ~/Library/Preferences/nsmb.conf | |
file for additional configuration parameters and a password. If no password is found, | |
mount_smbfs prompts for it. |
#!/bin/bash | |
# written by Kirk Skaar | |
# | |
# v1.1 | |
# | |
# 19 September 2014 | |
# Script to remove MCX managed preferences | |
# | |
# Removes the Managed Preferences directory |