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
# Modify database connection time from 300 to 100 to accommodate for Rackspace's Cloud Databases default timeout of 120 seconds | |
sed "s@<IdleConnectionTestPeriod>.*@<IdleConnectionTestPeriod>100</IdleConnectionTestPeriod>@" -i /var/lib/tomcat7/webapps/$instanceName/WEB-INF/xml/DataBase.xml |
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 | |
# This program will uninstall MacKeeper and JustCloud | |
################# | |
### Variables ### | |
################# | |
# Items at the system level to be removed | |
systemItems=( |
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 | |
# Check to make sure the machine has enrolled before continuing | |
/bin/echo "Checking enrollment..." | |
until [ ! -f "/Library/Application Support/JAMF/FirstRun/Enroll/enroll.sh" ] | |
do | |
/bin/echo "Machine is not enrolled. Trying enrollment." | |
# Attempt enrollment | |
/Library/Application\ Support/JAMF/FirstRun/Enroll/enroll.sh | |
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
# Defaults for pound initscript | |
# sourced by /etc/init.d/pound | |
# installed at /etc/default/pound by the maintainer scripts | |
# prevent startup with default configuration | |
# set the below variable to 1 in order to allow pound to start | |
startup=1 |
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
## This is an example pound config for load balancing a JSS | |
## Created by John Kitzmiller - www.johnkitzmiller.com | |
###################################################################### | |
## global options: | |
User "www-data" | |
Group "www-data" | |
#RootJail "/chroot/pound" |
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 | |
# Automatic FV2 Individual Recovery Key re-issue script | |
# written by John Kitzmiller - www.johnkitzmiller.com | |
# | |
# This script will call a policy from the JSS to issue a new recovery key | |
# if it detects that the recovery key has been used to log in | |
# | |
### Functions ### |
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 | |
jamfHelper="/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper" | |
icon="/path/to/logo.png" | |
"$jamfHelper" -startLaunchd -windowType fs -icon $icon -description "Your computer is being configured, please wait." & |
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>askForPassword</key> | |
<integer>1</integer> | |
<key>askForPasswordDelay</key> | |
<real>0.0</real> | |
<key>tokenRemovalAction</key> | |
<integer>0</integer> |
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
<Connector URIEncoding="UTF-8" port="8080" executor="tomcatThreadPool" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" proxyPort="443" scheme="https" /> |
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
<Valve className="org.apache.catalina.valves.RemoteIpValve" /> |
OlderNewer