View gist:d2bc5efb30d204130ec2
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
Macintosh:vfuse admin$ sudo ./vfuse -i /Volumes/Stuff/109_P2V/HardDrive-image.dmg -o /Volumes/Stuff/109_P2V/ -n HardDrive-image-vfuse.dmg | |
Mounting /Volumes/Stuff/109_P2V/HardDrive-image.dmg | |
Traceback (most recent call last): | |
File "./vfuse", line 334, in <module> | |
main() | |
File "./vfuse", line 304, in main | |
os_vers = get_osvers(mount_point) | |
File "./vfuse", line 117, in get_osvers | |
print colored(err, 'red') | |
File "./vfuse", line 54, in colored |
View gist:7c284bb297df11ea8958
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 | |
# Marnin, RU ITS, version .1, 11-2014 | |
# Source: http://superuser.com/questions/65375/user-login-log-on-mac-os-x | |
echo | |
echo "Check the last login time for an account" | |
echo |
View gist:dc2d801332903319f7d8
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
$conf['auth']['auth_AD']['account_suffix'] = '@domain.edu'; | |
$conf['auth']['auth_AD']['base_dn'] = 'DC=something,DC=domain,DC=edu'; //set to NULL to auto-detect | |
$conf['auth']['auth_AD']['domain_controllers'] = array('dc1.domain.edu','dc2.domain.edu'); //can be an array of servers | |
$conf['auth']['auth_AD']['admin_username'] = NULL; //if needed to perform the search | |
$conf['auth']['auth_AD']['admin_password'] = NULL; //if needed to perform the search | |
$conf['auth']['auth_AD']['mr_allowed_groups'] = array('group1','IT group2'); //case sensitive |
View gist:5649f7eccb71b3f01209
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>autopkg</string> | |
<key>creation_date</key> | |
<date>2014-07-22T17:02:32Z</date> |
View gist:bfa800c4bbf65eee1d09
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 script works well for removing local accounts that are older than 1 day. | |
# Obviously the 1 day timeframe can be modified (-mtime +1). | |
# Runs using Launch Daemon - /Library/LaunchDaemons/edu.org.deleteaccounts.plist | |
# version .7 | |
View gist:70c1203ee7982bb8b0ed
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 | |
# | |
# Optional script by which you can control the user installation. | |
# | |
# Variables to set: | |
# startDesktop: set to false if you don't want the desktop to start up immediately after installation | |
# CP_USER_HOME: Allows the app to start scanning the user's home folder immediately after installation | |
# user: Used to properly set file permissions | |
# userGroup: Also used for file permissions |
View gist:52cecba24b9149542cb6
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
<key>postinstall_script</key> | |
<string>#!/bin/sh | |
USER_INSTALL_DIR="/Applications/SPSS 20/" | |
# Create installer.properties | |
cd /var | |
echo "INSTALLER_UI=silent | |
USER_INSTALL_DIR="$USER_INSTALL_DIR" | |
LICENSE_ACCEPTED=true | |
#For network license | |
network=1 |
NewerOlder