Escape Velocity. with 1 PSUMacAdmins 2016
|
|
- Dominic Hood
- 6 years ago
- Views:
Transcription
1 Approaching Escape Velocity with 1 PSUMacAdmins 2016
2 Shoulders of Giants: Introduction: Google Tech Talk Dave Zarzycki Overview: PSUMacAdmins Matt Hansen Deep Dive: MacSysAdmin Jonathan Levin 1 Launchd: One Program to Rule them All youtube 2 Getting Started with launchd for Sys Admins youtube 3 Launchd - At Your Service video 2 PSUMacAdmins 2016
3 init pid 1 /etc/rc.local /etc/inittab runlevels 3 PSUMacAdmins 2016
4 init inetd xinetd watchdog at cron SystemStarter 4 PSUMacAdmins 2016
5 launchd Take advantage of multi-core systems Reduce reliance on dependencies Use privilege separation Run processes as needed Interprocess Communication 4 4 Root and Login Sessions [dev site] 5 PSUMacAdmins 2016
6 launchd 2.0 Increased usage by Apple: Leopard: 166 launchd jobs Lion: 361 launchd jobs El Capitan: 535 launchd jobs Complete re-write No longer open source New and deprecated keys and arguments 6 PSUMacAdmins 2016
7 What launchd does Loads parameters from plists Registers requested sockets & file descriptors Launches always-on daemons Watches processes & passes requests to daemons Stops daemons at system shut down 5 5 Creating Launch Daemons and Agents [dev site] 7 PSUMacAdmins 2016
8 What launchd does not Wait for network to be active Wait for file system mounts Wait for hardware drivers Make any assumptions at all 5 5 Creating Launch Daemons and Agents [dev site] 8 PSUMacAdmins 2016
9 Daemons vs Agents /System/Library/Launch{Daemons,Agents} /Library/Launch{Daemons,Agents} ~/Library/LaunchAgents 5 5 Creating Launch Daemons and Agents [dev site] 9 PSUMacAdmins 2016
10 Types of plists file /System/Library/LaunchDaemons/* /System/Library/LaunchDaemons/bootps.plist: /System/Library/LaunchDaemons/com.apple.AirPlayXPCHelper.plist: /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist: /System/Library/LaunchDaemons/com.apple.AssetCacheLocatorService.plist: /System/Library/LaunchDaemons/com.apple.CommCenterRootHelper.plist: /System/Library/LaunchDaemons/com.apple.CoreRAID.plist: /System/Library/LaunchDaemons/com.apple.CrashReporterSupportHelper.plist: /System/Library/LaunchDaemons/com.apple.DesktopServicesHelper.plist: /System/Library/LaunchDaemons/com.apple.DumpGPURestart.plist: /System/Library/LaunchDaemons/com.apple.DumpPanic.plist: /System/Library/LaunchDaemons/com.apple.FileCoordination.plist: /System/Library/LaunchDaemons/com.apple.FileSyncAgent.sshd.plist: /System/Library/LaunchDaemons/com.apple.FontWorker.plist: /System/Library/LaunchDaemons/com.apple.GSSCred.plist: /System/Library/LaunchDaemons/com.apple.GameController.gamecontrollerd.plist: XML document text XML document text XML document text Apple binary property list XML document text XML document text XML document text XML document text XML document text XML document text Apple binary property list XML document text XML document text XML document text XML document text 10 PSUMacAdmins 2016
11 Convert bplist cat com.some.launchd.plist plutil -convert xml1 - -o - <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" " <plist version="1.0"> <dict> <key>label</key> <string>com.some.launchd</string> <key>programarguments</key> <array> <string>/usr/local/bin/some_script.sh</string> <string>-some_argument</string> </array> <key>runatload</key> <true/> </dict> </plist> 11 PSUMacAdmins 2016
12 Required Keys Label unique identifier for the job ProgramArguments the command being run (Some trigger) tells the job when to run 12 PSUMacAdmins 2016
13 Label & ProgramArguments com.some.launchd.plist <dict> <key>label</key> <string>com.some.launchd</string> <key>programarguments</key> <array> <string>/usr/local/bin/some_script.sh</string> <string>-some_argument</string> </array> <key>runatload</key> <true/> </dict> </plist> 13 PSUMacAdmins 2016
14 KeepAlive SuccessfulExit boolean, restart on (un)successful exit PathState boolean, dict of filesystem paths OtherJobEnabled boolean, dict of other jobs labels Crashed boolean, restart if crashed 14 PSUMacAdmins 2016
15 KeepAlive com.apple.airportd.plist <key>keepalive</key> <dict> <key>successfulexit</key> <false/> <key>crashed</key> <true/> </dict> 15 PSUMacAdmins 2016
16 Scheduling Jobs RunAtLoad runs immediately when plist is loaded StartInterval runs every N seconds StartCalendarInterval specify weekday/hour/minute LaunchOnlyOnce run once and never try again 16 PSUMacAdmins 2016
17 StartInterval com.adobe.fpsaud.plist <dict> <key>label</key> <string>com.adobe.fpsaud</string> <key>programarguments</key> <array> <string>/library/application Support/Adobe/Flash Player Install Manager/fpsaud</string> </array> <key>startinterval</key> <integer>3600</integer> <key>keepalive</key> <false/> </dict> </plist> 17 PSUMacAdmins 2016
18 StartCalendarInterval com.apple.locate.plist <key>startcalendarinterval</key> <dict> <key>hour</key> <integer>3</integer> <key>minute</key> <integer>15</integer> <key>weekday</key> <integer>6</integer> </dict> 18 PSUMacAdmins 2016
19 LimitLoad LimitLoadToSessionType Aqua LoginWindow Background System LimitLoadToHardware i.e. MacBookPro11,5 LimitLoadFromHardware inverse 19 PSUMacAdmins 2016
20 LimitLoadToSessionType com.apple.quicklook.config.plist <key>limitloadtosessiontype</key> <array> <string>aqua</string> <string>loginwindow</string> </array> 20 PSUMacAdmins 2016
21 LimitLoadToHardware com.apple.firmwareupdatehelper.plist <key>limitloadtohardware</key> <dict> <key>model</key> <array> <string>macbook8,1</string> <string>macbook9,1</string> </array> </dict> 21 PSUMacAdmins 2016
22 Triggers WatchPaths boolean, array of filenames to watch QueueDirectories boolean, array of dirnames to watch StartOnMount boolean, start on filesystem mount 22 PSUMacAdmins 2016
23 WatchPaths com.oracle.java.helper-tool.plist <key>programarguments</key> <array> <string>/library/internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool</string> </array> <key>watchpaths</key> <array> <string>/library/internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Updater.plist</string> </array> 23 PSUMacAdmins 2016
24 QueueDirectories com.apple.reportpanic.plist <key>program</key> <string>/system/library/coreservices/reportpanic.app/contents/macos/reportpanic</string> <key>queuedirectories</key> <array> <string>/var/db/panicreporter/</string> </array> <key>launchonlyonce</key> <true/> 24 PSUMacAdmins 2016
25 StartOnMount com.apple.tmhelperagent.setupoffer.plist <key>programarguments</key> <array> <string>/system/library/coreservices/backupd.bundle/contents/resources/tmhelperagent.app/contents/macos/tmhelperagent</string> <string>-offer</string> </array> <key>startonmount</key> <true/> 25 PSUMacAdmins 2016
26 Sockets listeners can be any name SockType stream (tcp) or dgram (tcp) SockPathName socket filepath SockPathMode ownership, in decimal 26 PSUMacAdmins 2016
27 SockPathName com.apple.rpcbind.plist <key>sockets</key> <dict> <key>ondemandtickler</key> <dict> <key>sockpathname</key> <string>/var/run/portmap.socket</string> <key>sockpathmode</key> <integer>511</integer> </dict> </dict> 27 PSUMacAdmins 2016
28 Additional Limiters {Soft,Hard}ResourceLimits Core, CPU, Data, NumberOfFiles, etc Throttling keys Nice, LowPriorityIO, ThrottleInterval ProcessType Standard, Background, Interactive, Adaptive 28 PSUMacAdmins 2016
29 ThrottleInterval com.apple.screensharing.agent.plist <key>throttleinterval</key> <integer>1</integer> 29 PSUMacAdmins 2016
30 Additional Controllers EnvironmentVariables pass to the job {Root,Working}Directory chroot & chdir Standard{In,Out,Error}Path redirects stdio 30 PSUMacAdmins 2016
31 StandardErrorPath com.apple.alf.agent.plist <key>standarderrorpath</key> <string>/var/log/alf.log</string> <key>standardoutpath</key> <string>/var/log/alf.log</string> 31 PSUMacAdmins 2016
32 intermission 32 PSUMacAdmins 2016
33 James Buchanan 33 PSUMacAdmins 2016
34 launchctl Changes in "Legacy" commands load/unload, start/stop, bsexec, asuser Newer commands bootstrap, enable/disable, kickstart 34 PSUMacAdmins 2016
35 Listing service info list "legacy", lists service info print prints description about domain/service print-disabled prints which services are disabled 35 PSUMacAdmins 2016
36 launchctl list PID Status Label - 0 com.apple.trustd.agent - 0 com.apple.mailserviceagent - 0 com.apple.appkit.xpc.sandboxedservicerunner - 0 com.apple.mdworker.mail com.apple.mdworker.shared com.apple.datadetectorsdynamicdata com.apple.cfprefsd.xpc.agent - 0 com.apple.coreauthentication.daemon - 0 com.apple.quicklook - 0 com.apple.parentalcontrols.check com.apple.finder - 0 com.apple.packagekit.installstatus - 0 com.apple.fontworker com.<apple class="bird"></apple> 36 PSUMacAdmins 2016
37 launchctl print user/501 com.apple.xpc.launchd.domain.user.501 = { type = user handle = 501 active count = 41 on-demand count = 0 service count = 39 active service count = 0 activity ratio = 0.00 creator = sshd.269 creator euid = 0 external activation count = 1 session = Background security context = { uid = 501 asid = } PSUMacAdmins 2016
38 launchctl print user/ services = { com.apple.mdworker.shared com.apple.syncdefaultsd 0 - com.apple.trustd.agent 0 - com.apple.mdworker.sizing 0 - com.apple.mailserviceagent 0 - com.apple.accounts.dom com.apple.icloudhelper 0 - com.apple.tonelibraryd 0 - com.apple.appkit.xpc.sandboxedservicerunner com.apple.tccd 0 - com.apple.mdworker.mail 0 - com.apple.cvmscompagent3600_x86_64_ com.apple.mdworker.single com.apple.speechrecognitioncore.brokerd PSUMacAdmins 2016
39 launchctl list com.apple.syslogd { }; "EnableTransactions" = true; "Sockets" = { "BSDSystemLogger" = ( file-descriptor-object; ); }; "LimitLoadToSessionType" = "System"; "MachServices" = { "com.apple.system.logger" = mach-port-object; }; "Label" = "com.apple.syslogd"; "TimeOut" = 30; "OnDemand" = false; "LastExitStatus" = 0; "PID" = 38; "Program" = "/usr/sbin/syslogd"; "ProgramArguments" = ( "/usr/sbin/syslogd"; ); 39 PSUMacAdmins 2016
40 launchctl print system/com.apple.syslogd com.apple.syslogd = { active count = 2 path = /System/Library/LaunchDaemons/com.apple.syslogd.plist state = running program = /usr/sbin/syslogd arguments = { /usr/sbin/syslogd } default environment = { } PATH => /usr/bin:/bin:/usr/sbin:/sbin environment = { ASL_DISABLE => 1 XPC_SERVICE_NAME => com.apple.syslogd } 40 PSUMacAdmins 2016
41 Loading services load/unload (un)loads a service or services bootstrap/bootout (un)loads a service or services bsexec/asuser execute in another user context reboot logout force logout of a GUI session reboot (-s) system force reboot, or into single user mode 41 PSUMacAdmins 2016
42 launchctl asuser 6 #!/bin/bash [[ $3!= "/" ]] && exit 0 /usr/bin/python /Library/Security/SecurityAgentPlugins/KeychainMinder.bundle/Contents/Resources/update_authdb.py install user=$(/usr/bin/stat -f '%u' /dev/console) [[ -z "$user" ]] && exit 0 /bin/launchctl asuser ${user} /bin/launchctl load /Library/LaunchAgents/com.google.corp.keychainminder.plist /bin/launchctl load /Library/LaunchDaemons/com.google.corp.keychainminderagent.plist exit 0 6 Keychain Minder [github] 42 PSUMacAdmins 2016
43 launchctl bootout gui/<uid> $ launchctl list grep demo - 0 com.psumac.demo.foo - 0 com.psumac.demo.bar $ launchctl bootout gui/501 /Library/LaunchAgents/com.psumac.demo.foo.plist $ launchctl list grep demo PID Status Label - 0 com.psumac.demo.bar 43 PSUMacAdmins 2016
44 44 PSUMacAdmins 2016
45 Mac Admins 45 PSUMacAdmins 2016
46 Imagr <dict> <key>label</key> <string>com.grahamgilbert.imagr-first-boot-pkg</string> <key>programarguments</key> <array> <string>/usr/local/first-boot/first-boot</string> </array> <key>runatload</key> <true/> <key>startinterval</key> <integer>20</integer> </dict> </plist> 46 PSUMacAdmins 2016
47 AutoPkg... <key>keepalive</key> <false/> <key>sockets</key> <dict> <key>autopkgserver</key> <dict> <key>sockpathname</key> <string>/var/run/autopkgserver</string> <key>sockpathmode</key> <integer>438</integer> </dict> </dict> </dict> </plist> 47 PSUMacAdmins 2016
48 PlanB <dict> <key>groupname</key> <string>staff</string> <key>label</key> <string>com.megacorp.planb</string> <key>lowpriorityio</key> <true/> <key>nice</key> <integer>20</integer> <key>processtype</key> <string>background</string> <key>programarguments</key> <array> <string>/usr/local/sbin/planb_check</string> <string>-q</string> <string>-s</string> <string>180</string> </array> PSUMacAdmins 2016
49 PlanB... <key>programarguments</key> <array> <string>/usr/local/sbin/planb_check</string> <string>-q</string> <string>-s</string> <string>180</string> </array> <key>runatload</key> <true/> <key>startinterval</key> <integer>3607</integer> <key>timeout</key> <integer>1800</integer> <key>username</key> <string>root</string> <key>workingdirectory</key> <string>/</string> </dict> </plist> 49 PSUMacAdmins 2016
50 Casper <dict> <key>abandonprocessgroup</key> <true/> <key>groupname</key> <string>wheel</string> <key>keepalive</key> <true/> <key>label</key> <string>com.jamfsoftware.jamf.daemon</string> <key>machservices</key> <dict> <key>com.jamfsoftware.daemon.services.mount</key> <true/> </dict> <key>nice</key> <integer>20</integer> <key>programarguments</key> <array> PSUMacAdmins 2016
51 demo stupid launchd tricks 51 PSUMacAdmins 2016
52 Outset 7 Motivation Learn python Supporting air-gapped labs ScriptRunner 8 & first-boot-pkg 9 Desired Features System & user context Scripts & pkgs & profiles First-boot & every-boot 7 Outset [github] 8 ScriptRunner [github] 9 first-boot-pkg [github] 52 PSUMacAdmins 2016
53 Basic Outset daemons & agents /Library/LaunchDaemons/com.github.outset.boot.plist /Library/LaunchDaemons/com.github.outset.cleanup.plist /Library/LaunchAgents/com.github.outset.login.plist /Library/LaunchAgents/com.github.outset.on-demand.plist 53 PSUMacAdmins 2016
54 Basic Outset com.github.outset.boot.plist <dict> <key>label</key> <string>com.github.outset.boot</string> <key>programarguments</key> <array> <string>/usr/local/outset/outset</string> <string>--boot</string> </array> <key>runatload</key> <true/> </dict> </plist> 54 PSUMacAdmins 2016
55 Basic Outset payload directories /usr/local/outset/boot-once/ /usr/local/outset/boot-every/ /usr/local/outset/login-once/ /usr/local/outset/login-every/ 55 PSUMacAdmins 2016
56 Basic Outset boot process Unloads loginwindow Waits until Mac has a valid IP Processes everything in boot-once Deletes everything in boot-once Loads loginwindow Processes everything in boot-every 56 PSUMacAdmins 2016
57 Basic Outset login process Processes everything in login-once Logs login-once items to run-once plist Processes everything in login-every 57 PSUMacAdmins 2016
58 OnDemand Outset com.github.outset.on-demand.plist <dict> <key>label</key> <string>com.github.outset.on-demand</string> <key>programarguments</key> <array> <string>/usr/local/outset/outset</string> <string>--on-demand</string> </array> <key>keepalive</key> <dict> <key>pathstate</key> <dict> <key>/private/tmp/.com.github.outset.ondemand.launchd</key> <true/> </dict> </dict> <key>ondemand</key> <true/> </dict> 58 PSUMacAdmins 2016
59 OnDemand Outset postinstall #!/bin/bash [[ $3!= "/" ]] && exit 0 /usr/bin/touch /private/tmp/.com.github.outset.ondemand.launchd exit 0 59 PSUMacAdmins 2016
60 Advanced Outset Ignored users Network timeout Profiles 60 PSUMacAdmins 2016
61 /usr/local/outset/share/com.chilcote.outset.plist <dict> <key>ignored_users</key> <array> <string>luser</string> <string>ginger</string> <string>fred</string> </array> <key>network_timeout</key> <integer>180</integer> <key>wait_for_network</key> <true/> </dict> 61 PSUMacAdmins 2016
62 Scoping profiles 10 $./dock_profiler.py -h usage: dock_profiler.py [-h] -p PROFILE -n NAME [-i IDENTIFIER] [-o OUTPUT] [--once] [-s IDENTITY] [-v VERSION] Creates a package for Outset that will install a profile for a specific user on login. 10 Outset Dock Profiler [github] 62 PSUMacAdmins 2016
63 demo stupid outset tricks 63 PSUMacAdmins 2016
64 feedback => 64 PSUMacAdmins 2016
Getting Started with launchd for Sys Admins. Penn State MacAdmins Conference 2012
Getting Started with launchd for Sys Admins Penn State MacAdmins Conference 2012 whoami Matt Hansen Systems Administrator Penn State College of Education @hansen_m history Released with 10.4 Tiger (2005)
More informationScripting Opportunities for Systems Administrators. Greg Neagle, Walt Disney Animation Studios
Scripting Opportunities for Systems Administrators Greg Neagle, Walt Disney Animation Studios This is not a presentation on scripting. Why? System configuration #!/bin/sh # add staff to lpadmin group so
More informationlaunchd (and other fun stuff) James Reynolds University of Utah Student Computing Labs Macintosh Support
launchd (and other fun stuff) James Reynolds University of Utah Student Computing Labs Macintosh Support mac@scl.utah.edu What is launchd Jordan Hubbard s solution /sbin/launchd One ring.., er, process
More informationSeaPea v2.0 for Mac OSX 10.4.X X
##################### CLASSIFICATION: SECRET ##################### Last Updated: 11/06/08 SeaPea v2.0 for Mac OSX 10.4.X - 10.5.X Developer: IOC/EDG/AED/UDB Version: SeaPea v2.0 Introduction SeaPea is
More informationAbstract. This is the MySQL OS X extract from the MySQL 5.7 Reference Manual. For legal information, see the Legal Notices.
MySQL and OS X Abstract This is the MySQL OS X extract from the MySQL 5.7 Reference Manual. For legal information, see the Legal Notices. For help with using MySQL, please visit either the MySQL Forums
More informationAbstract. This is the MySQL OS X extract from the MySQL 8.0 Reference Manual. For legal information, see the Legal Notices.
MySQL and OS X Abstract This is the MySQL OS X extract from the MySQL 8.0 Reference Manual. For legal information, see the Legal Notices. For help with using MySQL, please visit either the MySQL Forums
More informationManaging User Settings
Managing User Settings Katie English Manager, Professional Services JAMF Software Managing User Settings Philosophy What Where How Example - Computer level setting Examples - User level settings The way
More informationAbstract. This is the MySQL OS X extract from the MySQL 5.5 Reference Manual. For legal information, see the Legal Notices.
MySQL and OS X Abstract This is the MySQL OS X extract from the MySQL 5.5 Reference Manual. For legal information, see the Legal Notices. For help with using MySQL, please visit either the MySQL Forums
More informationAbstract. This is the MySQL OS X extract from the MySQL 5.6 Reference Manual. For legal information, see the Legal Notices.
MySQL and OS X Abstract This is the MySQL OS X extract from the MySQL 5.6 Reference Manual. For legal information, see the Legal Notices. For help with using MySQL, please visit either the MySQL Forums
More informationInstallLion.pkg. Automating your Lion Installation. Allen Golbig Memorial Sloan-Kettering Cancer Center
InstallLion.pkg Automating your Lion Installation Allen Golbig Memorial Sloan-Kettering Cancer Center OS X Lion Released July 20, 2011 Mac App Store Easy to install Deployment Concerns Mac App Store made
More informationDeploying ipad to Patients Setup Guide
Deploying ipad to Patients Setup Guide Contents Overview Getting Prepared Evaluate your infrastructure Create a configuration Automate device setup Distribute apps In-Room Storage Initial setup Reset your
More informationMac OS X 10.4 Tiger. What's New for UNIX Users?
Mac OS X 10.4 Tiger What's New for UNIX Users? General Highlights Pervasive Searching Automator VoiceOver Parental Controls SyncSer vices New and Upgraded Apps Dashboard ichat AV conferencing Safari RSS
More informationJabra Suite for Mac - Mass Deployment guide Revision 3/
Table of Contents Introduction... 2 What do you need?... 2 Installing Apple Remote Desktop... 2 User Accounts and Remote Desktop... 4 Contents of Jabra Suite for Mac.zip... 5 How to install Jabra Suite
More informationApple Exam 9L0-402 Support Essentials 10.5 Version: 5.0 [ Total Questions: 100 ]
s@lm@n Apple Exam 9L0-402 Support Essentials 10.5 Version: 5.0 [ Total Questions: 100 ] Topic break down Topic Topic 0: A 100 No. of Questions 2 Topic 0, A A Question No : 1 - (Topic 0) You work as an
More informationPatch Server for Jamf Pro Documentation
Patch Server for Jamf Pro Documentation Release 0.7.0 Bryson Tyrrell Mar 16, 2018 Contents 1 Change History 3 2 Setup the Patch Server Web Application 7 3 Add Your Patch Server to Jamf Pro 11 4 API Authentication
More informationQuick Audience Survey. New to imaging on Macs? Have Mac OS X Server(s)? Basic Scripting Skills? Have Windows (SMB) Servers?
PSUMAC202: Imaging Remember us? Justin Elliott, Penn State University IT Manager, Classroom and Lab Computing Rusty Myers, Penn State University IT Support Specialist, College of Education Quick Audience
More informationAdvanced Unix System Administration
Advanced Unix System Administration Lecture 5 February 14, 2007 Steven Luo Shared Libraries The dynamic linker Binaries have a symbol table containing functions, etc. and
More informationRequest can't be sent. Please verify your system parameters. You should also have a look at your log file. Save or Cancel to finish...
1/11 Warning! This is an Advanced subject, that is not necessary for running the grib plugin. Do not try these setups unless you are familiar with your operating system, comfortable with handling the command
More informationADOBE INDESIGN CS6 INTRODUCTION TO ADOBE INDESIGN CS6 SERVER DEVELOPMENT
ADOBE INDESIGN CS6 INTRODUCTION TO ADOBE INDESIGN CS6 SERVER DEVELOPMENT 2012 Adobe Systems Incorporated. All rights reserved. Introduction to Adobe InDesign CS6 Server Development If this guide is distributed
More informationDeploying ipad to Patients
Deploying ipad to Patients Setup Guide Contents Overview Getting Prepared Evaluate your infrastructure Create a configuration Automate device setup Distribute apps In-Room Storage Initial setup Reset your
More informationJabra Suite for Mac - Mass Deployment guide Revision 1 /
Jabra Suite for Mac - Mass Deployment guide Revision 1 / 2012-12-11 Introduction This guide explains how to customize the Jabra Suite for Mac package and deploy it in an enterprise environment. Some sections
More informationBIG-IP APM and F5 Access for macos. Version 1.0.0
BIG-IP APM and F5 Access for macos Version 1.0.0 Table of Contents Table of Contents BIG-IP APM and F5 Access for macos...5 Requirements for F5 Access for macos...5 F5 Access for macos general information...5
More informationTearing open packages
Tearing open packages What is a package? A package is an archive of files and directories. The archive contains information about location, kind, owner, group, and mode of each file and directory. The
More informationTools and Process for Streamlining Mac Deployment. Tim Sutton Concordia University, Faculty of Fine Arts Montreal
Tools and Process for Streamlining Mac Deployment Tim Sutton Concordia University, Faculty of Fine Arts Montreal Things change Release cycle Annual releases of macos, ios Mid-cycle features added in
More information7 The Alpha and the Omega launchd
7 The Alpha and the Omega launchd When you power on your Mac or i-device, the boot loader (OS X: EFI, ios: iboot), described in the previous chapter is responsible for finding the kernel and starting it
More informationADOBE INDESIGN CS4 SERVER INTRODUCTION TO ADOBE INDESIGN CS4 SERVER
ADOBE INDESIGN CS4 SERVER INTRODUCTION TO ADOBE INDESIGN CS4 SERVER 2008 Adobe Systems Incorporated. All rights reserved. Introduction to Adobe InDesign CS4 Server Technical note #10123 If this guide is
More informationOPERATING SYSTEMS LINUX
OPERATING SYSTEMS LINUX Božo Krstajić, PhD, University of Montenegro Podgorica bozok@cg.ac.yu Process management Linux operating systems work with processes. Basically a process consists of program code
More informationApplying Covering the Tracks from SANS Course SEC 504, Hacker Techniques, Exploits, and Incident Handling, to Mac OS X.
1 Applying Covering the Tracks from SANS Course SEC 504, Hacker Techniques, Exploits, and Incident Handling, to Mac OS X. 2 Hiding Files and Directories in Mac OS X A common method for hiding files and
More informationHow to Dual-Boot OS X and Ubuntu
How to Dual-Boot OS X and Ubuntu Nailen Matschke - nailen@caltech.edu 10/3/2015 What you need: 1. A USB drive with at least 2 GB of space, that you don t mind wiping 2. A copy of Ubuntu (available here),
More informationminit Felix von Leitner September 2004 minit
minit Felix von Leitner felix-minit@fefe.de September 2004 minit What is this all about? This talk is about a new init program called minit. Several itches needed scratching: 1. Typical Linux distributions
More informationSystem Administration. Startup Process
System Administration Startup Process Why Care? Every process on your system comes about by following a specific chain of events from the machine startup You may want to disable processes You may want
More informationCertification. System Initialization and Services
Certification System Initialization and Services UNIT 3 System Initialization and Services UNIT 3: Objectives Upon completion of this unit the student should be able to: Describe BIOS functions with respect
More informationUser and Reference Manual
User and Reference Manual User & Reference Manual All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying,
More informationScripting OS X. Armin Briegel. Mac Admin, Consultant and Author
Scripting OS X Armin Briegel Mac Admin, Consultant and Author Scripting OS X Armin Briegel Mac Admin, Consultant and Author Scripting Bash Armin Briegel Mac Admin, Consultant and Author Scripting Bash
More informationInstalling the Mac Agent
You are here: Agent Deployment > Mac > Installing the Mac Agent Installing the Mac Agent The following instructions will outline the steps to install the Mac agent. Please note that once the Mac agent
More informationInitialization: runlevels
Initialization: init The init process is always the first started (has a PID of 1) and will remain running until the system is shut down With init running, the kernel moves to the background awaiting system
More informationAdministering Adobe Creative Suite 5/5.5 with the Casper Suite. Technical Paper Casper Suite v9.0 or Later 8 January 2014
Administering Adobe Creative Suite 5/5.5 with the Casper Suite Technical Paper Casper Suite v9.0 or Later 8 January 2014 JAMF Software, LLC 2014 JAMF Software, LLC. All rights reserved. JAMF Software has
More informationThe Linux IPL Procedure
The Linux IPL Procedure SHARE - Tampa February 13, 2007 Session 9274 Edmund MacKenty Rocket Software, Inc. Purpose De-mystify the Linux boot sequence Explain what happens each step of the way Describe
More informationmost elaborate jailbreak to ever hack your phone forbes Used 800,000 times in 6 hours after its release
Brian Beckerle Latest iphone jailbreak, ios 6.1 Patched in latest version ios 6.1.3 4 of 6? Exploits fixed most elaborate jailbreak to ever hack your phone forbes Used 800,000 times in 6 hours after its
More informationBasic Linux Security. Roman Bohuk University of Virginia
Basic Linux Security Roman Bohuk University of Virginia What is Linux? An open source operating system Project started by Linus Torvalds kernel Kernel: core program that controls everything else (controls
More informationLinux System Administration
System Processes Objective At the conclusion of this module, the student will be able to: Describe and define a process Identify a process ID, the parent process and the child process Learn the PID for
More informationMass Deploying Bomgar Software to Macs
Mass Deploying Bomgar Software to Macs The installer les for representative consoles and Jump Clients allow you to mass deploy Bomgar software to your Macs. This guide provides examples of how to mass-deploy
More informationSANE 2006 Solaris SMF 15/05/06 11:03
SANE 2006 Solaris SMF 15/05/06 11:03 Liane = tech-lead voor SMF, werkte vroeger in het kernel team. Her presentation can be downloaded from her blog as soon as possible. Agenda SMF basics SMF components
More informationBuilding blocks for Unix power tools
for Unix power tools Now that we have given a good overview of a lot of the better Unix tools, I want to take some time to talk about our toolset for building Unix programs. The most important of these
More informationIntegrating Lion Into PSU Auth: A Case Study
Integrating Lion Into PSU Auth: A Case Study Roy Long - ral20@psu.edu Scott Gallagher - spg14@psu.edu First things first May the 4th be with you Session Info Lion Client / Server setup Making 3rd party
More informationHow to automate your ClaroRead Cloud logins for ios using an MDM
How to automate your ClaroRead Cloud logins for ios using an MDM If you have a ClaroRead Pro or app-specific licence key in your ClaroRead Cloud account, you can login in our ios apps and activate or unlock
More informationOS Security III: Sandbox and SFI
1 OS Security III: Sandbox and SFI Chengyu Song Slides modified from Dawn Song 2 Administrivia Lab2 VMs on lab machine Extension? 3 Users and processes FACT: although ACLs use users as subject, the OS
More informationLab 3a Using the vi editor
Lab 3a Using the vi editor Objectives: Become familiar with the vi Editor Review the three vi Modes Review keystrokes to move between vi modes Create a new file with vi Editor Invoke vi with show mode
More informationAltiris Client Management Suite 7.1 from Symantec User Guide for Mac Management
Altiris Client Management Suite 7.1 from Symantec User Guide for Mac Management Contents Chapter 1 Introducing the Mac in Altiris Client Management Suite 7.1 from Symantec... 9 About managing the Mac
More informationDesign Overview of the FreeBSD Kernel CIS 657
Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler (2%
More informationProtection! User Guide. A d m i n i s t r a t o r G u i d e. v L i c e n s i n g S e r v e r. Protect your investments with Protection!
jproductivity LLC Protect your investments with Protection! User Guide Protection! L i c e n s i n g S e r v e r v 4. 9 A d m i n i s t r a t o r G u i d e tm http://www.jproductivity.com Notice of Copyright
More informationAdministering Adobe Creative Suite 5/5.5 with the Casper Suite. Technical Paper Casper Suite v January 2014
Administering Adobe Creative Suite 5/5.5 with the Casper Suite Technical Paper Casper Suite v8.4-8.7 8 January 2014 JAMF Software, LLC 2014 JAMF Software, LLC. All rights reserved. JAMF Software has made
More informationModular Image Creation Anthony Reimer
Modular Image Creation Anthony Reimer @AnthonyReimer Session Overview Why image? Why modularly? Techniques needed for modular Modular image creation tools Advanced AutoDMG Why image? Why image? Why automate?
More informationOSX Privileged Helper Tool
Offensive Con 2019 OSX Privileged Helper Tool Introduction Tyler Bohan Senior Research Engineer Cisco Talos Talos Vulndev Third party vulnerability research 170 bug finds in last 12 months Microsoft Apple
More informationUSING GIT WITH, AND AUTOMATING MUNKI. Adam Reed
USING GIT WITH, AND AUTOMATING MUNKI Adam Reed The Australian National University Hashtag : #xw13 Please leave comments on this talk at auc.edu.au/xworld/sessions 1 Git Powerful Version Control System
More informationContents in Detail. Acknowledgments
Acknowledgments xix Introduction What s in This Book... xxii What Is Ethical Hacking?... xxiii Penetration Testing... xxiii Military and Espionage... xxiii Why Hackers Use Linux... xxiv Linux Is Open Source....
More informationBasic Brilliant Scripting for Beginners. Bryce Carlson
Basic Brilliant Scripting for Beginners Bryce Carlson Basic Bash for Beginners Basic Brilliant Scripting for Beginners Bryce Carlson bash script for macos Bryce Carlson Senior Support Engineer at Jamf
More informationStartup, Login, Logout scripts. By James Reynolds
Startup, Login, Logout scripts By James Reynolds Startup, Login, Logout scripts Startup script? Runs at startup time Login script? Runs right after user authenticates Runs before Finder loads Logout script?
More informationECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017
ECE 550D Fundamentals of Computer Systems and Engineering Fall 2017 The Operating System (OS) Prof. John Board Duke University Slides are derived from work by Profs. Tyler Bletsch and Andrew Hilton (Duke)
More informationAutomating OS X and ios Configuration
Automating OS X and ios Configuration acmefoo! Scott M. Neal smn.mg@acmefoo.org MacTech 2011 Copyright 2005-2011 MindsetGarden Automating Configuration: Agenda Property Lists brief review Defaults Domains
More informationCompTIA Exam LX0-102 Linux Part 2 Version: 10.0 [ Total Questions: 177 ]
s@lm@n CompTIA Exam LX0-102 Linux Part 2 Version: 10.0 [ Total Questions: 177 ] CompTIA LX0-102 : Practice Test Topic break down Topic No. of Questions Topic 1: Volume A 60 Topic 2: Volume B 59 Topic 3:
More informationThink Small to Scale Big
Think Small to Scale Big Intro to Containers for the Datacenter Admin Pete Zerger Principal Program Manager, MVP pete.zerger@cireson.com Cireson Lee Berg Blog, e-mail address, title Company Pete Zerger
More informationLecture 2: Tools & Concepts
Lecture 2: Tools & Concepts CMPSCI120 Editors WIN NotePad++ Mac Textwrangler 1 Secure Login Go WIN SecureCRT, PUTTY WinSCP Mac Terminal SFTP WIN WinSCP Mac Fugu 2 Intro to unix pipes & filters file system
More informationSalesforce Mobile App Security Guide
Salesforce Mobile App Security Guide Version 3, 0 @salesforcedocs Last updated: October 11, 2018 Copyright 2000 2018 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of salesforce.com,
More informationThe GoPrint Solution Web Client for Macintosh
The GoPrint Solution Web Client for Macintosh Version 4.1 4.2 Updated: July 2017 Copyright 2016 ITC SYSTEMS. All rights reserved. No part of this publication may be reproduced, distributed, copied, or
More informationDesign Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent?
Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler
More informationIntegrating AutoPkg and the Casper Suite. Live the Dream
Integrating AutoPkg and the Casper Suite with JSSImporter Live the Dream What are we Trying to Do Keep software up-to-date on client machines. Test software before deployment. Minimize IT involvement,
More informationOverview. Over the next four weeks, we will look at these topics: Building Blocks. Advanced Authentication Issues.
Overview Over the next four weeks, we will look at these topics: Building Blocks Advanced Authentication Issues Security Overview Storage and its abstraction Virtualization and appliances Data Replication
More informationEasyLogin. Intro to the Alpha version
EasyLogin Intro to the Alpha version Yoann Gini System & Network Administrator As a system and network administrator, I work on a lot on topics related to OS X, OS X Server, security and scaling. You can
More informationSit with your new teammate
Sit with your new teammate Chadd Group 1 Group 5 Raimundo Ben Brynn Chris M Group 2 Group 4 Group 8 Group 6 Verity Cormac Michael Scott Logan Chris G Michael Kyle Group 3 Group 7 Ryan Mason Larry Jacob
More informationclient X11 Linux workstation
LPIC1 LPIC Linux: System Administrator LPIC 1 LPI command line LPIC-1 Linux LPIC-1 client X11 Linux workstation Unix GNU Linux Fundamentals Unix and its Design Principles FSF and GNU GPL - General Public
More informationLinux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1
Linux Essentials Smith, Roderick W. ISBN-13: 9781118106792 Table of Contents Introduction xvii Chapter 1 Selecting an Operating System 1 What Is an OS? 1 What Is a Kernel? 1 What Else Identifies an OS?
More informationHP-UX System Administration
HP-UX System Administration This intensive course is designed for experienced UNIX administrators who like to understand the differences between HP-UX and standard UNIX. It is essential that students have
More informationNCSA Security R&D Last Updated: 11/03/2005
Stage Design Project: Community Accounts Stage #1: Accounts NCSA Security R&D Last Updated: 11/03/2005 Summary The Accounts stage of the Community Accounts project consists of creating all tools necessary
More informationCLC License Server ADMINISTRATOR MANUAL
CLC License Server ADMINISTRATOR MANUAL Administrator manual for CLC License Server 4.0 Windows, macos and Linux May 29, 2018 This software is for research purposes only. QIAGEN Aarhus Silkeborgvej 2 Prismet
More informationOPERATING SYSTEMS. Božo Krstajić, PhD, University of Montenegro Podgorica.
OPERATING SYSTEMS Božo Krstajić, PhD, University of Montenegro Podgorica bozok@cg.ac.yu 1 The /etc/rc.d directory The system initialization files are stored in the /etc/rc.d directory. Each task or runlevel
More informationData Security and Privacy. Unix Discretionary Access Control
Data Security and Privacy Unix Discretionary Access Control 1 Readings for This Lecture Wikipedia Filesystem Permissions Other readings UNIX File and Directory Permissions and Modes http://www.hccfl.edu/pollock/aunix1/filepermissions.htm
More informationWeb Interface Installation Guide. Version 8.2
Web Interface Installation Guide Version 8.2 Web Interface Installation Guide The purpose of this document is to provide the steps necessary to configure and use the SBAdmin Web Interface. The SBAdmin
More informationCNIT 121: Computer Forensics. 13 Investigating Mac OS X Systems
CNIT 121: Computer Forensics 13 Investigating Mac OS X Systems Topics HFS+ and File System Analysis Hierarchical File System features: Nine Structures 1. Boot blocks 2. Volume header 3. Allocation file
More informationWelcome to Centrify DirectControl Agent for Mac, Centrify Endpoint Services
Welcome to Centrify DirectControl Agent for Mac, Centrify Endpoint Services Release Notes for Centrify DirectControl Agent for Mac, Centrify Endpoint Services macos Suite 2017.3 Edition Centrify DirectControl
More informationCrashing to root: How to escape the ios sandbox using abort()
Crashing to root: How to escape the ios sandbox using abort() Brandon Azad CVE-2018-4280 Who am I? - Independent security researcher - Focus on macos/ios - Stanford University: B.S. in 2016, M.S. in 2017
More informationLinux Command Line Primer. By: Scott Marshall
Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and
More informationApple 9L OS X Support Essentials
Apple OS X Support Essentials 10.9 http://killexams.com/exam-detail/ D. What does it mean when you choose the option to "ignore volume ownership" in the Finder? What are the security ramifications of ignoring
More informationCSE 265: System and Network Administration
CSE 265: System and Network Administration System startup and shutdown Bootstrapping Booting PCs Boot loaders Booting into single user mode Startup scripts Rebooting and shutting down Bootstrapping i.e.,
More informationCSE 265: System and Network Administration
CSE 265: System and Network Administration System startup and shutdown Bootstrapping Booting PCs Boot loaders Booting into single user mode Startup scripts Rebooting and shutting down Bootstrapping i.e.,
More informationComposer User Guide. Version
Composer User Guide Version 10.5.0 copyright 2002-2018 Jamf. All rights reserved. Jamf has made all efforts to ensure that this guide is accurate. Jamf 100 Washington Ave S Suite 1100 Minneapolis, MN 55401-2155
More informationPL-I Assignment Broup B-Ass 5 BIOS & UEFI
PL-I Assignment Broup B-Ass 5 BIOS & UEFI Vocabulary BIOS = Basic Input Output System UEFI = Unified Extensible Firmware Interface POST= Power On Self Test BR = Boot Record (aka MBR) BC =Boot Code (aka
More informationUnix Processes. What is a Process?
Unix Processes Process -- program in execution shell spawns a process for each command and terminates it when the command completes Many processes all multiplexed to a single processor (or a small number
More informationUnit 2 System startup and shutdown
Unit 2 System startup and shutdown Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.2 Unit objectives After completing this unit, you should be
More informationManually Kill Process Mac Os X Terminal Running
Manually Kill Process Mac Os X Terminal Running If you've ever been using your Mac and had an application hang (Spinning Normally, most applications run fairly well on OS X and the spinning You can open
More information9L0-412 Q&As. OS X Support Essentials 10.8 Exam. Pass Apple 9L0-412 Exam with 100% Guarantee
9L0-412 Q&As OS X Support Essentials 10.8 Exam Pass Apple 9L0-412 Exam with 100% Guarantee Free Download Real Questions & Answers PDF and VCE file from: 100% Passing Guarantee 100% Money Back Assurance
More informationWelcome to Centrify DirectControl Agent for Mac, Centrify Endpoint Services
Welcome to Centrify DirectControl Agent for Mac, Centrify Endpoint Services Release Notes for Centrify DirectControl Agent for Mac, Centrify Endpoint Services macos Suite 2018 Edition Centrify DirectControl
More informationBooting up and Shutting down A primer for troubleshooting
Booting up and Shutting down A primer for troubleshooting In this section, we touch upon the startup and shutdown process on Linux. It is beyond the scope of this course to cover this topic in depth and
More informationSupervisor as a Platform. OSCON 2008 Mike Naberezny
Supervisor as a Platform OSCON 2008 Mike Naberezny About Me http://mikenaberezny.com http://maintainable.com http://ohloh.net/accounts/mnaberez Goals Quickly learn the basics of Supervisor and how to get
More informationRUBLX : A RUBY-BASED BATCH LANGUAGE FOR XGRID
RUBLX : A RUBY-BASED BATCH LANGUAGE FOR XGRID Tetsuya SUZUKI Kiyoto HAMANO Department of Electronic Information Systems Shibaura Institute of Technology Minuma, Saitama city, Saitama, 337-8570, Japan Email:
More informationReview. Designing Interactive Systems II. Review. Base Window System. Apps UITK BWS GEL. 4-Layer Model Graphics and Event Library BWS GEL
Window Manager Base Window System Graphics & Event Library Hardware more abstract, application-/user- Applications User Interface Toolkit Review Designing Interactive Systems II 4-Layer Model Graphics
More informationSystems Programming/ C and UNIX
Systems Programming/ C and UNIX Alice E. Fischer Lecture 6: Processes October 9, 2017 Alice E. FischerLecture 6: Processes Lecture 5: Processes... 1/26 October 9, 2017 1 / 26 Outline 1 Processes 2 Process
More informationMac App Store Manual Location Lion Installer
Mac App Store Manual Location Lion Installer Gatekeeper is a new feature in Mountain Lion and OS X Lion v10.7.5 that The safest and most reliable place to download and install apps is via the Mac App Store.
More informationDon't Trust the PID! Stories of a simple logic bug and where to find it. Samuel Groß
Don't Trust the PID! Stories of a simple logic bug and where to find it Samuel Groß (@5aelo) The PID (Process IDentifier) Used to identify a running process Incremented when spawning new process For historical
More informationTroubleshooting TFTP Problems on Resource Manager Essentials
Troubleshooting TFTP Problems on Resource Manager Essentials Document ID: 18246 Contents Introduction Prerequisites Requirements Components Used Conventions Configuring Configuration Archive for TFTP as
More information