This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Java script to add the exception.sites in a shared location for the | |
# new version of Java. Script created and updated by Josh Miller and | |
# Matt Hansen. Last update January 20, 2014. | |
# This command will check to see if the Java Deployment directory | |
# exists. If not, it will create it for you. | |
test -d /Library/Application\ Support/Oracle/Java/Deployment || mkdir -p /Library/Application\ Support/Oracle/Java/Deployment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Determine if a manifest exists for the computer | |
username="" | |
encpassword="" | |
password=`echo "$encpassword" | base64 --decode` | |
/bin/mkdir /Volumes/client\ manifests | |
/sbin/mount_afp afp://$username:$password@servername/munki/repo/manifests/hosts /Volumes/client\ manifests | |
path="/Volumes/client manifests/$computername" | |
if [[ -e $path ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/usr/bin/dscl -plist /Active\ Directory/Domain/All\ Domains -read /Users/username > /tmp/Exchange.plist | |
if /usr/bin/defaults read /tmp/Exchange dsAttrTypeNative:msExchHomeServerName | |
then | |
echo "Yes" | |
else | |
echo "No" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>_metadata</key> | |
<dict> | |
<key>created_by</key> | |
<string>jdm51</string> | |
<key>creation_date</key> | |
<date>2015-03-24T12:22:12Z</date> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to perform Adobe Creative Cloud Updates using AAMPORTER | |
# Joshua D. Miller - [email protected] | |
# February 16, 2015 | |
# Creative Cloud 2013 (First Creative Cloud Version) | |
/bin/echo "Checking for Updates for Creative Cloud" | |
/Volumes/RAID3L/aamporter/./aamporter.py -p /Volumes/RAID3L/aamporter/2013/Audition.plist --munkiimport \ | |
/Volumes/RAID3L/aamporter/./aamporter.py -p /Volumes/RAID3L/aamporter/2013/Bridge.plist --munkiimport \ | |
/Volumes/RAID3L/aamporter/./aamporter.py -p /Volumes/RAID3L/aamporter/2013/Dreamweaver.plist --munkiimport \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# pylint:disable=C0103, E0611, E1101, W0703 | |
'''Power User Preferences (With Location Services)''' | |
# This policy will unlock certain system prereference | |
# panes in macOS to allow users who do not have administrative | |
# privileges to access them. | |
# Joshua D. Miller - [email protected] | |
# The Pennsylvania State University | |
# August 31, 2016 - Converted from Bash | |
# April 4, 2017 - Updates Location Services and tested with 10.12.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# pylint: disable=C0103, W0612, E1101, E0602, E0611 | |
# pylint: disable=W0101, W0110, W0141 | |
''''Fix 802.1x When Using Config Profiles and EAP-TLS''' | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# | |
# This script will determine the profile ID that was used when | |
# installing the 802.1x Ethernet Identity preference and make | |
# a copy of the keychain entry to be used as a user identity preference | |
# so that any Ethernet can be used when a user is logged in. As of 10.12.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# pylint: disable=C0103, W0612, E1101, E0602, E0611 | |
# pylint: disable=W0101, W0110, W0141 | |
''''Report presence of 802.1x User Identity Preference for EAP-TLS''' | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# | |
# This script will determined if the KeyChain item that needs created | |
# for 802.1x EAP-TLS to work on all systems with multiple items is | |
# present. This information is then reported to jamf. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# pylint: disable=E0611, E1101, E0602 | |
''''Fix 802.1x When Using Config Profiles and PEAP-MSCHAPV2 or EAP-TLS''' | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# | |
# This script will find the system profile that is attached to one ethernet | |
# interface from our configuration profile and then copy it to all other | |
# ethernet interfaces so that other ethernet interfaces can be used instead | |
# of just the FirstActiveEthernet at time of profile installation. This issue | |
# is still an issue as of 10.12.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# pylint: disable=E0611, E1101, E0602, C0103 | |
''''Fix 802.1x When Using Config Profiles and PEAP-MSCHAPV2 or EAP-TLS''' | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# | |
# This script will find the system profile and determine whether it is attached | |
# to each interface and report that information. This is formated to be used | |
# with jamf as an Extension attribute. Expected output would be as follows: | |
# || en3 - True || en4 - False || en5 - False || | |
# |
OlderNewer