Skip to content

Instantly share code, notes, and snippets.

Marnin gmarnin

Block or report user

Report or block gmarnin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gmarnin
gmarnin / gist:37265c0c37ebbcb9f14818033b78e2d2
Created Dec 18, 2018
T2 10.14.2 update, MSC log from 3.5.2.3630
View gist:37265c0c37ebbcb9f14818033b78e2d2
Dec 18 2018 11:33:39 -0500 Using manifest: site_default
Dec 18 2018 11:33:39 -0500 DEBUG2: Catalog base URL is: https://domain/munki/catalogs/
Dec 18 2018 11:33:39 -0500 Getting catalog production...
Dec 18 2018 11:33:39 -0500 DEBUG2: Options: {'logging_function': <function display_debug2 at 0x108247aa0>, 'ignore_system_proxy': False, 'additional_headers': {u'Authorization': u'Basic aXRzXG1hY211bmtpOk1NMjAxNCNy', 'User-Agent': u'managedsoftwareupdate/3.5.2.3630 Darwin/18.2.0'}, 'file': u'/Library/Managed Installs/catalogs/production.download', 'cache_data': {
etag = "\"83f113e0c896d41:0\"";
"last-modified" = "Tue, 18 Dec 2018 11:57:39 GMT";
}, 'url': u'https://domain/munki/catalogs/production', 'follow_redirects': u'none', 'download_only_if_changed': True, 'can_resume': False}
Dec 18 2018 11:33:39 -0500 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Dec 18 2018 11:33:39 -0500 DEBUG2: Authentication challenge for Host: domain Realm: None AuthMethod: NSURLAuthenticationMethodSer
View Disable Siri
<?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>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.apple.assistant.support</key>
View gist:e8e38d404eaf9a8158e02aa921417592
<key>postinstall_script</key>
<string>#!/bin/sh
# Attach the Cached DMG from the Waiting Room
hdiutil attach -nobrowse -noverify /tmp/bomgar-scc-w0hdc308ewf5jf6z6eg7d8ewg5gx87yiizxxxwwc40jc90.dmg
# Install the client from the standard mount location for the bomgar-scc client installer.
/Volumes/bomgar-scc/Double-Click\ To\ Start\ Support\ Session.app/Contents/MacOS/sdcust&amp;
# If you want to run the hdiutil detach, add a wait command so that it finishes installing first
@gmarnin
gmarnin / gist:615f7e8d209f6031e2960027582e9f80
Created Apr 4, 2016
Delete account after 30 days config profile
View gist:615f7e8d209f6031e2960027582e9f80
<?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>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>Mobility</string>
<key>PayloadEnabled</key>
View gist:9a914bed429d7b276b7e
<key>postinstall_script</key>
<string>#!/bin/sh
# enable developer mode
/usr/sbin/DevToolsSecurity -enable
# make sure all users on this machine are members of the _developer group
/usr/sbin/dseditgroup -o edit -t group -a everyone _developer
# accept Xcode license
View gist:bc5fc6d7f0935e9dcced
12mor101m3:~ autopkg$ autopkg run -vv FinaleUpdate.munki
Processing FinaleUpdate.munki...
SparkleUpdateInfoProvider
{'Input': {'appcast_url': u'http://downloads2.makemusic.com/xml/Finale_Mac.xml'}}
SparkleUpdateInfoProvider: Version retrieved from appcast: 5545
SparkleUpdateInfoProvider: User-facing version retrieved from appcast: 2014.4.0.5545
SparkleUpdateInfoProvider: Found URL http://makemusic.blob.core.windows.net/applications/Finale/2014d/Sparkle/FinaleUp2014dMac_5545.zip
{'Output': {'url': 'http://makemusic.blob.core.windows.net/applications/Finale/2014d/Sparkle/FinaleUp2014dMac_5545.zip',
'version': '2014.4.0.5545'}}
URLDownloader
View gist:00bb721744f8d2fef4f8
<?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>munki-admin</string>
<key>creation_date</key>
<date>2015-07-06T15:58:47Z</date>
@gmarnin
gmarnin / gist:e17eb746e23d2e75fe1b
Created Jun 10, 2015
Radar 14023881 - FileVault 2: Allow encrypted password with fdesetup enable -inputplist
View gist:e17eb746e23d2e75fe1b
Summary:
When using fdesetup enable -inputplist to enable other accounts, the password in the plist is clear text. I would like to file an enhancement to have the -inputplist plist support hashed passwords.
Steps to Reproduce:
If you run fdesetup enable -inputplist with a hashed password, FileVault 2 is not enabled for the hashed password account.
Expected Results:
@gmarnin
gmarnin / gist:c1f766447ffb92982206
Created Feb 24, 2015
HP Printer Drivers pkginfo
View gist:c1f766447ffb92982206
<?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-10-02T10:06:22Z</date>
View gist:51657d473a9f6bc2c3e3
Macintosh:vfuse admin$ sudo ./vfuse -i /Volumes/Stuff/109_P2V/HardDrive-image.dmg -o /Volumes/Stuff/109_P2V -n 109p2v
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
You can’t perform that action at this time.