Difference between revisions of "/System/Library/Lockdown/Services.plist"

From The iPhone Wiki
Jump to: navigation, search
m
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
== Summary ==
 
== Summary ==
Specifies which services should be launched by [[lockdownd]], with which arguments and as what user.
+
Specifies which services should be launched by [[lockdownd]], with which arguments and as what user. This file no longer exists as of iOS 8.
 
Notable examples are [[AFC|AFC and AFC2]].
 
Notable examples are [[AFC|AFC and AFC2]].
   
 
== File Contents ==
 
== File Contents ==
Files contents on a jailbroken 2nd Generation iPod Touch running iOS 4.2.1:
+
File contents of a jailbroken iPhone 5 running iOS 7.1.2:
   
 
<pre>
 
<pre>
Line 11: Line 11:
 
<plist version="1.0">
 
<plist version="1.0">
 
<dict>
 
<dict>
<key>com.apple.BTAutoPairing</key>
+
<key>com.apple.afc</key>
<dict>
+
<dict>
<key>AllowUnactivatedService</key>
+
<key>AllowUnactivatedService</key>
<true/>
+
<true/>
<key>Label</key>
+
<key>Label</key>
<string>com.apple.BTAutoPairing</string>
+
<string>com.apple.afc</string>
<key>ProgramArguments</key>
+
<key>UserName</key>
  +
<string>mobile</string>
<array>
 
  +
<key>XPCServiceName</key>
<string>/usr/libexec/BTAutoPairingBridge</string>
 
  +
<string>com.apple.afcd</string>
</array>
 
  +
</dict>
<key>UserName</key>
 
  +
<key>com.apple.ait.aitd</key>
<string>mobile</string>
 
  +
<string>com.apple.ait.aitd</string>
<dict>
 
  +
<true/>
<string>com.apple.PortableStorage</string>
 
  +
<string>mobile</string>
<array>
 
  +
<key>XPCServiceName</key>
<string>/usr/libexec/psagent</string>
 
  +
<string>com.apple.ait.client</string>
</array>
 
  +
</dict>
<key>UserName</key>
 
  +
<key>com.apple.atc</key>
<string>mobile</string>
 
<key>AllowUnactivatedService</key>
+
<key>Label</key>
  +
<string>com.apple.atc</string>
<true/>
 
<string>com.apple.afc</string>
+
<string>mobile</string>
<key>ProgramArguments</key>
+
<key>XPCServiceName</key>
  +
<string>com.apple.atc</string>
<array>
 
  +
</dict>
<string>/usr/libexec/afcd</string>
 
  +
<key>com.apple.crashreportcopymobile</key>
<string>--lockdown</string>
 
  +
<dict>
<string>-d</string>
 
  +
<key>AllowUnactivatedService</key>
<string>/var/mobile/Media</string>
 
  +
<true/>
<string>-u</string>
 
  +
<key>Label</key>
<string>mobile</string>
 
  +
<string>com.apple.crashreportcopymobile</string>
</array>
 
  +
<key>UserName</key>
</dict>
 
  +
<string>mobile</string>
<key>com.apple.afc2</key>
 
  +
<key>XPCServiceName</key>
<dict>
 
  +
<string>com.apple.crashreportcopymobile</string>
<key>AllowUnactivatedService</key>
 
  +
<dict>
<string>com.apple.afc2</string>
 
<key>ProgramArguments</key>
+
<key>AllowUnactivatedService</key>
  +
<true/>
<array>
 
  +
<key>Label</key>
<string>/usr/libexec/afcd</string>
 
  +
<key>XPCServiceName</key>
<string>-d</string>
 
<string>/</string>
+
<string>com.apple.crash_mover</string>
</array>
+
</dict>
  +
<key>com.apple.hpd.mobile</key>
</dict>
 
  +
<dict>
<key>com.apple.crashreportcopy</key>
 
  +
<key>AllowUnactivatedService</key>
<dict>
 
  +
<true/>
<key>AllowUnactivatedService</key>
 
  +
<key>Label</key>
<true/>
 
  +
<string>com.apple.hpd.mobile</string>
<key>InstanceLimit</key>
 
  +
<key>ProgramArguments</key>
<integer>1</integer>
 
  +
<array>
<key>Label</key>
 
  +
<string>--lockdown</string>
<key>ProgramArguments</key>
 
  +
<string>-d</string>
<array>
 
<string>--lockdown</string>
+
<string>-u</string>
<string>--oneshot</string>
+
<string>mobile</string>
</array>
+
</array>
  +
<key>UserName</key>
</dict>
 
  +
<string>mobile</string>
<key>com.apple.crashreportcopymobile</key>
 
  +
<dict>
<true/>
 
  +
<true/>
<string>com.apple.crashreportcopymobile</string>
 
<key>ProgramArguments</key>
+
<key>Label</key>
  +
<string>com.apple.iosdiagnostics.relay</string>
<array>
 
  +
<key>ProgramArguments</key>
<string>/usr/libexec/afcd</string>
 
  +
<array>
<string>--lockdown</string>
 
  +
</array>
<string>/var/mobile/Library/Logs/CrashReporter</string>
 
  +
<key>UserName</key>
<string>-u</string>
 
<string>mobile</string>
+
<string>mobile</string>
</array>
+
</dict>
  +
<key>com.apple.misagent</key>
</dict>
 
  +
<dict>
<key>com.apple.crashreportmover</key>
 
  +
<key>Label</key>
<dict>
 
  +
<string>com.apple.misagent</string>
<key>AllowUnactivatedService</key>
 
  +
<key>ProgramArguments</key>
<true/>
 
  +
<array>
<key>Label</key>
 
  +
</array>
<key>ProgramArguments</key>
 
  +
</dict>
<array>
 
  +
<key>com.apple.mobile.MCInstall</key>
<string>/usr/libexec/crash_mover</string>
 
  +
<dict>
<string>--lockdown</string>
 
  +
<key>AllowUnactivatedService</key>
</array>
 
<key>com.apple.misagent</key>
+
<key>Label</key>
  +
<string>com.apple.mobile.MCInstall</string>
<dict>
 
  +
<array>
<string>com.apple.misagent</string>
 
  +
<string>/usr/libexec/mc_mobile_tunnel</string>
<key>ProgramArguments</key>
 
<array>
+
</array>
  +
<key>UserName</key>
<string>/usr/libexec/misagent</string>
 
  +
<string>mobile</string>
</array>
 
<key>com.apple.mobile.MCInstall</key>
+
<key>com.apple.mobile.MDMService</key>
<dict>
+
<dict>
<key>AllowUnactivatedService</key>
+
<key>AllowUnactivatedService</key>
<true/>
+
<true/>
<key>Label</key>
+
<key>Label</key>
<string>com.apple.mobile.MCInstall</string>
+
<string>com.apple.mobile.MDMService</string>
<key>ProgramArguments</key>
+
<key>ProgramArguments</key>
<array>
+
<array>
<string>/usr/libexec/mc_mobile_tunnel</string>
+
<string>/usr/libexec/MDMService</string>
</array>
+
</array>
  +
</dict>
<key>UserName</key>
 
  +
<string>com.apple.mobile.assertion_agent</string>
<true/>
 
  +
<string>com.apple.mobile.assertion_agent</string>
<array>
 
  +
</dict>
<string>/usr/libexec/MDMService</string>
 
  +
<key>com.apple.mobile.debug_image_mount</key>
</array>
 
<dict>
+
<true/>
<key>AllowUnactivatedService</key>
+
<key>Label</key>
  +
<string>com.apple.mobile.debug_image_mount</string>
<true/>
 
  +
<array>
<string>com.apple.mobile.debug_image_mount</string>
 
  +
<string>/usr/libexec/debug_image_mount</string>
<key>ProgramArguments</key>
 
  +
</dict>
<string>/usr/libexec/debug_image_mount</string>
 
  +
<key>com.apple.mobile.diagnostics_relay</key>
</array>
 
</dict>
+
<dict>
<key>com.apple.mobile.diagnostics_relay</key>
+
<key>AllowUnactivatedService</key>
<dict>
+
<true/>
<key>AllowUnactivatedService</key>
+
<key>Label</key>
  +
<string>com.apple.mobile.diagnostics_relay</string>
<true/>
 
  +
<array>
<string>com.apple.mobile.diagnostics_relay</string>
 
  +
<string>/usr/libexec/mobile_diagnostics_relay</string>
<key>ProgramArguments</key>
 
  +
</dict>
<string>/usr/libexec/mobile_diagnostics_relay</string>
 
  +
<key>com.apple.mobile.file_relay</key>
</array>
 
<dict>
+
<true/>
<key>AllowUnactivatedService</key>
+
<key>Label</key>
  +
<string>com.apple.mobile.file_relay</string>
<true/>
 
  +
<array>
<string>com.apple.mobile.factory_proxy</string>
 
  +
<string>/usr/libexec/mobile_file_relay</string>
<key>ProgramArguments</key>
 
  +
</dict>
<string>/usr/libexec/mobile_factory_proxy</string>
 
  +
<key>com.apple.mobile.heartbeat</key>
</array>
 
</dict>
+
<dict>
<key>com.apple.mobile.file_relay</key>
+
<key>AllowUnactivatedService</key>
<dict>
+
<true/>
<key>AllowUnactivatedService</key>
+
<key>Label</key>
  +
<string>HeartBeat Monitor</string>
<true/>
 
  +
<string>com.apple.lockdown.host_watcher</string>
<array>
 
  +
</dict>
<string>/usr/libexec/mobile_file_relay</string>
 
  +
<key>com.apple.mobile.house_arrest</key>
</array>
 
<key>com.apple.mobile.house_arrest</key>
+
<key>AllowUnactivatedService</key>
<dict>
+
<true/>
<key>AllowUnactivatedService</key>
+
<key>InstanceLimit</key>
  +
<integer>5</integer>
<true/>
 
  +
<string>com.apple.mobile.house_arrest</string>
<integer>5</integer>
 
  +
<array>
<string>com.apple.mobile.house_arrest</string>
 
  +
<string>/usr/libexec/mobile_house_arrest</string>
<key>ProgramArguments</key>
 
  +
</dict>
<string>/usr/libexec/mobile_house_arrest</string>
 
  +
<key>com.apple.mobile.insecure_notification_proxy</key>
</array>
 
</dict>
+
<dict>
<key>com.apple.mobile.installation_proxy</key>
+
<key>AllowUnactivatedService</key>
<dict>
+
<true/>
<key>Label</key>
+
<key>Label</key>
<string>com.apple.mobile.installation_proxy</string>
+
<string>com.apple.mobile.insecure_notification_proxy</string>
<key>ProgramArguments</key>
+
<key>UserName</key>
  +
<string>mobile</string>
<array>
 
  +
<key>XPCServiceName</key>
<string>/usr/libexec/mobile_installation_proxy</string>
 
  +
<string>com.apple.mobile.insecure_notification_proxy</string>
</array>
 
  +
</dict>
<key>UserName</key>
 
  +
<key>com.apple.mobile.installation_proxy</key>
<string>mobile</string>
 
  +
<string>com.apple.mobile.installation_proxy</string>
<dict>
 
  +
<string>mobile</string>
<true/>
 
  +
</dict>
<key>ProgramArguments</key>
 
  +
<key>com.apple.mobile.mobile_image_mounter</key>
<array>
 
  +
<dict>
<string>/usr/libexec/mobile_integrity_relay</string>
 
  +
<key>AllowUnactivatedService</key>
</array>
 
<key>com.apple.mobile.mobile_image_mounter</key>
+
<key>Label</key>
  +
<string>com.apple.mobile.mobile_image_mounter</string>
<dict>
 
  +
<array>
<true/>
 
  +
<string>/usr/libexec/mobile_storage_proxy</string>
<key>Label</key>
 
  +
</array>
<string>com.apple.mobile.mobile_image_mounter</string>
 
  +
</dict>
<key>ProgramArguments</key>
 
  +
<key>com.apple.mobile.notification_proxy</key>
<array>
 
  +
<dict>
<string>/usr/libexec/mobile_storage_proxy</string>
 
  +
<key>AllowUnactivatedService</key>
</array>
 
</dict>
+
<true/>
<key>com.apple.mobile.notification_proxy</key>
+
<key>Label</key>
  +
<string>com.apple.mobile.notification_proxy</string>
<dict>
 
  +
<string>mobile</string>
<true/>
 
<string>com.apple.mobile.notification_proxy</string>
+
<string>com.apple.mobile.notification_proxy</string>
  +
</dict>
<key>ProgramArguments</key>
 
  +
<key>com.apple.mobilebackup</key>
<array>
 
  +
<dict>
<string>/usr/libexec/notification_proxy</string>
 
  +
<key>InstanceLimit</key>
</array>
 
  +
<integer>5</integer>
<key>UserName</key>
 
  +
<key>Label</key>
<string>mobile</string>
 
  +
<string>com.apple.mobilebackup</string>
</dict>
 
<dict>
+
<array>
  +
<string>/usr/libexec/BackupAgent</string>
<key>InstanceLimit</key>
 
  +
<string>--lockdown</string>
<integer>1</integer>
 
  +
</array>
<key>Label</key>
 
  +
</dict>
<string>com.apple.mobile.software_update</string>
 
  +
<dict>
<array>
 
  +
<key>InstanceLimit</key>
<string>/usr/libexec/software_update</string>
 
  +
<integer>5</integer>
</array>
 
  +
<key>Label</key>
</dict>
 
<key>com.apple.mobile.system_profiler</key>
+
<string>com.apple.mobilebackup2</string>
  +
<key>ProgramArguments</key>
<dict>
 
  +
<array>
<key>Label</key>
 
  +
<string>--lockdown</string>
<key>ProgramArguments</key>
 
<array>
+
</array>
  +
</dict>
<string>/usr/sbin/system_profiler</string>
 
  +
<key>com.apple.mobilesync</key>
</array>
 
<key>com.apple.mobilebackup</key>
+
<key>InstanceLimit</key>
  +
<integer>5</integer>
<dict>
 
  +
<string>com.apple.mobilesync</string>
<integer>1</integer>
 
<key>Label</key>
+
<key>ProgramArguments</key>
  +
<array>
<string>com.apple.mobilebackup</string>
 
  +
<string>/usr/libexec/SyncAgent</string>
<key>ProgramArguments</key>
 
  +
<string>--lockdown</string>
<array>
 
<string>--lockdown</string>
+
<string>-v</string>
</array>
+
</array>
  +
<key>UserName</key>
</dict>
 
  +
<string>mobile</string>
<key>com.apple.mobilebackup2</key>
 
  +
<dict>
<integer>1</integer>
 
<key>Label</key>
+
<key>AllowUnactivatedService</key>
  +
<true/>
<string>com.apple.mobilebackup2</string>
 
  +
<integer>1</integer>
<array>
 
  +
<key>Label</key>
<string>/usr/libexec/BackupAgent2</string>
 
<string>--lockdown</string>
+
<string>com.apple.pcapd</string>
  +
<key>ProgramArguments</key>
</array>
 
  +
<string>/usr/libexec/pcapd</string>
<key>com.apple.mobilesync</key>
 
  +
</array>
<dict>
 
  +
</dict>
<key>InstanceLimit</key>
 
  +
<key>com.apple.preboardservice</key>
<integer>1</integer>
 
  +
<dict>
<key>Label</key>
 
  +
<key>Label</key>
<string>com.apple.mobilesync</string>
 
  +
<string>com.apple.preboardservice</string>
<key>ProgramArguments</key>
 
  +
<key>UserName</key>
<array>
 
<string>/usr/libexec/SyncAgent</string>
+
<string>mobile</string>
  +
<key>XPCServiceName</key>
<string>--lockdown</string>
 
  +
</dict>
<string>-v</string>
 
  +
<key>com.apple.purpletestr</key>
</array>
 
  +
<dict>
<key>UserName</key>
 
  +
<key>AllowUnactivatedService</key>
<string>mobile</string>
 
</dict>
+
<true/>
<key>com.apple.purpletestr</key>
+
<key>Label</key>
  +
<string>com.apple.purpletestr</string>
<dict>
 
  +
<array>
<true/>
 
  +
<string>/usr/libexec/PurpleTestr</string>
<key>Label</key>
 
  +
<string>--oneshot</string>
<key>ProgramArguments</key>
 
<array>
+
</array>
  +
</dict>
<string>/usr/libexec/PurpleTestr</string>
 
  +
<key>com.apple.radios.wirelesstester.mobile</key>
<string>--lockdown</string>
 
  +
<dict>
<string>--oneshot</string>
 
  +
<key>AllowUnactivatedService</key>
</array>
 
<key>com.apple.springboardservices</key>
+
<key>Label</key>
  +
<string>com.apple.radios.wirelesstester.mobile</string>
<dict>
 
  +
<array>
<string>com.apple.springboardservicesrelay</string>
 
  +
<string>/usr/local/bin/WirelessTester</string>
<key>ProgramArguments</key>
 
  +
<string>-l</string>
<array>
 
<string>/usr/libexec/springboardservicesrelay</string>
+
<string>1</string>
  +
<string>-o</string>
</array>
 
  +
<string>/var/mobile/WirelessTester_mobile.log</string>
<key>UserName</key>
 
  +
</array>
<string>mobile</string>
 
  +
<key>UserName</key>
</dict>
 
  +
<string>mobile</string>
<key>com.apple.syslog_relay</key>
 
<key>AllowUnactivatedService</key>
+
<key>com.apple.radios.wirelesstester.root</key>
  +
<dict>
<true/>
 
  +
<true/>
<string>com.apple.syslog_relay</string>
 
<key>ProgramArguments</key>
+
<key>Label</key>
  +
<string>com.apple.radios.wirelesstester.root</string>
<array>
 
  +
<key>ProgramArguments</key>
<string>/usr/libexec/syslog_relay</string>
 
  +
<array>
<string>--lockdown</string>
 
  +
<string>/usr/local/bin/WirelessTester</string>
</array>
 
  +
<string>-l</string>
<key>UserName</key>
 
  +
<string>-o</string>
</dict>
 
</dict>
+
<dict>
<key>com.apple.PortableStorage</key>
+
<key>Label</key>
<key>Label</key>
+
<key>USBOnlyService</key>
<key>ProgramArguments</key>
+
<key>UserName</key>
</dict>
+
<dict>
<key>com.apple.afc</key>
+
<key>AllowUnactivatedService</key>
<dict>
+
<true/>
<key>Label</key>
+
<key>UserName</key>
<true/>
+
</dict>
<key>Label</key>
+
<key>com.apple.crashreportmover</key>
<string>--lockdown</string>
+
<string>com.apple.crashreportmover</string>
<string>com.apple.crashreportcopy</string>
+
<string>/usr/libexec/hpd</string>
<string>/usr/libexec/CrashReportCopyAgent</string>
+
<string>/var/mobile/Media/HighlandPark</string>
<dict>
+
</dict>
<key>AllowUnactivatedService</key>
+
<key>com.apple.iosdiagnostics.relay</key>
<key>Label</key>
+
<key>AllowUnactivatedService</key>
<string>-d</string>
+
<string>/usr/libexec/ios_diagnostics_relay</string>
<string>com.apple.crashreportmover</string>
+
<string>/usr/libexec/misagent</string>
</dict>
+
<false/>
<key>Label</key>
+
<key>ProgramArguments</key>
</dict>
+
</dict>
<string>mobile</string>
+
<key>com.apple.mobile.assertion_agent</key>
</dict>
+
<dict>
<key>com.apple.mobile.MDMService</key>
+
<key>AllowUnactivatedService</key>
<dict>
+
<true/>
<key>AllowUnactivatedService</key>
+
<key>Label</key>
<key>Label</key>
+
<key>UserName</key>
<string>com.apple.mobile.MDMService</string>
+
<string>mobile</string>
<key>ProgramArguments</key>
+
<key>XPCServiceName</key>
</dict>
+
<dict>
<key>com.apple.mobile.debug_image_mount</key>
+
<key>AllowUnactivatedService</key>
<key>Label</key>
+
<key>ProgramArguments</key>
<array>
+
</array>
<key>Label</key>
+
<key>ProgramArguments</key>
<array>
+
</array>
</dict>
+
<dict>
<key>com.apple.mobile.factory_proxy</key>
+
<key>AllowUnactivatedService</key>
<key>Label</key>
+
<key>ProgramArguments</key>
<array>
+
</array>
<key>Label</key>
+
<key>UserName</key>
<string>com.apple.mobile.file_relay</string>
+
<string>mobile</string>
<key>ProgramArguments</key>
+
<key>XPCServiceName</key>
</dict>
+
<dict>
<key>InstanceLimit</key>
+
<key>Label</key>
<key>Label</key>
+
<key>ProgramArguments</key>
<array>
+
</array>
</dict>
+
<dict>
<key>com.apple.mobile.integrity_relay</key>
+
<key>Label</key>
<key>AllowUnactivatedService</key>
+
<key>UserName</key>
<key>Label</key>
+
<key>XPCServiceName</key>
<string>com.apple.mobile.integrity_relay</string>
+
<string>com.apple.mobile.installation_proxy</string>
</dict>
+
<true/>
<key>AllowUnactivatedService</key>
+
<key>ProgramArguments</key>
<key>AllowUnactivatedService</key>
+
<key>UserName</key>
<key>Label</key>
+
<key>XPCServiceName</key>
<key>com.apple.mobile.software_update</key>
+
<key>ProgramArguments</key>
<key>ProgramArguments</key>
+
<key>com.apple.mobilebackup2</key>
<string>com.apple.mobile.system_profiler</string>
+
<string>/usr/libexec/BackupAgent2</string>
</dict>
+
<dict>
<key>InstanceLimit</key>
+
<key>Label</key>
<string>/usr/libexec/BackupAgent</string>
+
<string>--oneshot</string>
<dict>
+
</dict>
<key>InstanceLimit</key>
+
<key>com.apple.pcapd</key>
<key>ProgramArguments</key>
+
<key>InstanceLimit</key>
</dict>
+
<array>
<string>--oneshot</string>
+
<string>com.apple.preboardservice</string>
<key>AllowUnactivatedService</key>
+
<key>ProgramArguments</key>
<string>com.apple.purpletestr</string>
+
<string>--lockdown</string>
</dict>
+
<true/>
<key>Label</key>
+
<key>ProgramArguments</key>
<dict>
+
</dict>
<key>Label</key>
+
<key>AllowUnactivatedService</key>
<string>mobile</string>
+
<string>1</string>
  +
<string>/var/root/WirelessTester_root.log</string>
  +
</array>
  +
<key>UserName</key>
  +
<string>root</string>
  +
</dict>
  +
<key>com.apple.rasd</key>
  +
<dict>
  +
<key>AllowUnactivatedService</key>
  +
<true/>
  +
<key>Label</key>
  +
<string>com.apple.rasd</string>
  +
<key>ProgramArguments</key>
  +
<array>
  +
<string>/usr/libexec/rasd</string>
  +
</array>
  +
<key>UserName</key>
  +
<string>mobile</string>
  +
</dict>
  +
<key>com.apple.springboardservices</key>
  +
<dict>
  +
<key>Label</key>
  +
<string>com.apple.springboardservicesrelay</string>
  +
<key>ProgramArguments</key>
  +
<array>
  +
<string>/usr/libexec/springboardservicesrelay</string>
  +
</array>
  +
<key>UserName</key>
  +
<string>mobile</string>
  +
</dict>
  +
<key>com.apple.syslog_relay</key>
  +
<dict>
  +
<key>AllowUnactivatedService</key>
  +
<true/>
  +
<key>Label</key>
  +
<string>com.apple.syslog_relay</string>
  +
<key>UserName</key>
  +
<string>mobile</string>
  +
<key>XPCServiceName</key>
  +
<string>com.apple.syslog_relay</string>
  +
</dict>
  +
<key>com.apple.thermalmonitor.thermtgraphrelay</key>
  +
<dict>
  +
<key>Label</key>
  +
<string>com.apple.thermalmonitor.thermtgraphrelay</string>
  +
<key>ProgramArguments</key>
  +
<array>
  +
<string>/usr/local/bin/thermtgraphrelay</string>
  +
</array>
  +
<key>UserName</key>
  +
<string>mobile</string>
  +
</dict>
  +
<key>com.apple.webinspector</key>
  +
<dict>
  +
<key>Label</key>
  +
<string>com.apple.webinspector</string>
  +
<key>USBOnlyService</key>
  +
<true/>
  +
<key>UserName</key>
  +
<string>mobile</string>
  +
<key>XPCServiceName</key>
  +
<string>com.apple.webinspector</string>
  +
</dict>
 
</dict>
 
</dict>
 
</plist>
 
</plist>
Line 348: Line 410:
 
== Notes ==
 
== Notes ==
   
The "com.apple.afc2" array is added during the jailbreak process.
+
The "com.apple.afc2" array is added during the jailbreak process or when installing AFC2.
   
 
== Parents ==
 
== Parents ==
[[/|Root]]/[[/System|System]]/[[/System/Library|Library]]/[[/System/Library/Lockdown|Lockdown]]
+
{{parent|System|Library|Lockdown}}
   
 
[[Category:Filesystem]]
 
[[Category:Filesystem]]

Latest revision as of 09:44, 2 August 2017

Summary

Specifies which services should be launched by lockdownd, with which arguments and as what user. This file no longer exists as of iOS 8. Notable examples are AFC and AFC2.

File Contents

File contents of a jailbroken iPhone 5 running iOS 7.1.2:

<?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>com.apple.afc</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.afc</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.afcd</string>
	</dict>
	<key>com.apple.ait.aitd</key>
	<dict>
		<key>Label</key>
		<string>com.apple.ait.aitd</string>
		<key>USBOnlyService</key>
		<true/>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.ait.client</string>
	</dict>
	<key>com.apple.atc</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.atc</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.atc</string>
	</dict>
	<key>com.apple.crashreportcopymobile</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.crashreportcopymobile</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.crashreportcopymobile</string>
	</dict>
	<key>com.apple.crashreportmover</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.crashreportmover</string>
		<key>XPCServiceName</key>
		<string>com.apple.crash_mover</string>
	</dict>
	<key>com.apple.hpd.mobile</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.hpd.mobile</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/hpd</string>
			<string>--lockdown</string>
			<string>-d</string>
			<string>/var/mobile/Media/HighlandPark</string>
			<string>-u</string>
			<string>mobile</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.iosdiagnostics.relay</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.iosdiagnostics.relay</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/ios_diagnostics_relay</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.misagent</key>
	<dict>
		<key>Label</key>
		<string>com.apple.misagent</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/misagent</string>
		</array>
	</dict>
	<key>com.apple.mobile.MCInstall</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<false/>
		<key>Label</key>
		<string>com.apple.mobile.MCInstall</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/mc_mobile_tunnel</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.mobile.MDMService</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.MDMService</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/MDMService</string>
		</array>
	</dict>
	<key>com.apple.mobile.assertion_agent</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.assertion_agent</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.mobile.assertion_agent</string>
	</dict>
	<key>com.apple.mobile.debug_image_mount</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.debug_image_mount</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/debug_image_mount</string>
		</array>
	</dict>
	<key>com.apple.mobile.diagnostics_relay</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.diagnostics_relay</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/mobile_diagnostics_relay</string>
		</array>
	</dict>
	<key>com.apple.mobile.file_relay</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.file_relay</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/mobile_file_relay</string>
		</array>
	</dict>
	<key>com.apple.mobile.heartbeat</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>HeartBeat Monitor</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.lockdown.host_watcher</string>
	</dict>
	<key>com.apple.mobile.house_arrest</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>InstanceLimit</key>
		<integer>5</integer>
		<key>Label</key>
		<string>com.apple.mobile.house_arrest</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/mobile_house_arrest</string>
		</array>
	</dict>
	<key>com.apple.mobile.insecure_notification_proxy</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.insecure_notification_proxy</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.mobile.insecure_notification_proxy</string>
	</dict>
	<key>com.apple.mobile.installation_proxy</key>
	<dict>
		<key>Label</key>
		<string>com.apple.mobile.installation_proxy</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.mobile.installation_proxy</string>
	</dict>
	<key>com.apple.mobile.mobile_image_mounter</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.mobile_image_mounter</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/mobile_storage_proxy</string>
		</array>
	</dict>
	<key>com.apple.mobile.notification_proxy</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.mobile.notification_proxy</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.mobile.notification_proxy</string>
	</dict>
	<key>com.apple.mobilebackup</key>
	<dict>
		<key>InstanceLimit</key>
		<integer>5</integer>
		<key>Label</key>
		<string>com.apple.mobilebackup</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/BackupAgent</string>
			<string>--lockdown</string>
		</array>
	</dict>
	<key>com.apple.mobilebackup2</key>
	<dict>
		<key>InstanceLimit</key>
		<integer>5</integer>
		<key>Label</key>
		<string>com.apple.mobilebackup2</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/BackupAgent2</string>
			<string>--lockdown</string>
		</array>
	</dict>
	<key>com.apple.mobilesync</key>
	<dict>
		<key>InstanceLimit</key>
		<integer>5</integer>
		<key>Label</key>
		<string>com.apple.mobilesync</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/SyncAgent</string>
			<string>--lockdown</string>
			<string>--oneshot</string>
			<string>-v</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.pcapd</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>InstanceLimit</key>
		<integer>1</integer>
		<key>Label</key>
		<string>com.apple.pcapd</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/pcapd</string>
		</array>
	</dict>
	<key>com.apple.preboardservice</key>
	<dict>
		<key>Label</key>
		<string>com.apple.preboardservice</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.preboardservice</string>
	</dict>
	<key>com.apple.purpletestr</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.purpletestr</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/PurpleTestr</string>
			<string>--lockdown</string>
			<string>--oneshot</string>
		</array>
	</dict>
	<key>com.apple.radios.wirelesstester.mobile</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.radios.wirelesstester.mobile</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/local/bin/WirelessTester</string>
			<string>-l</string>
			<string>1</string>
			<string>-o</string>
			<string>/var/mobile/WirelessTester_mobile.log</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.radios.wirelesstester.root</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.radios.wirelesstester.root</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/local/bin/WirelessTester</string>
			<string>-l</string>
			<string>1</string>
			<string>-o</string>
			<string>/var/root/WirelessTester_root.log</string>
		</array>
		<key>UserName</key>
		<string>root</string>
	</dict>
	<key>com.apple.rasd</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.rasd</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/rasd</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.springboardservices</key>
	<dict>
		<key>Label</key>
		<string>com.apple.springboardservicesrelay</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/libexec/springboardservicesrelay</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.syslog_relay</key>
	<dict>
		<key>AllowUnactivatedService</key>
		<true/>
		<key>Label</key>
		<string>com.apple.syslog_relay</string>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.syslog_relay</string>
	</dict>
	<key>com.apple.thermalmonitor.thermtgraphrelay</key>
	<dict>
		<key>Label</key>
		<string>com.apple.thermalmonitor.thermtgraphrelay</string>
		<key>ProgramArguments</key>
		<array>
			<string>/usr/local/bin/thermtgraphrelay</string>
		</array>
		<key>UserName</key>
		<string>mobile</string>
	</dict>
	<key>com.apple.webinspector</key>
	<dict>
		<key>Label</key>
		<string>com.apple.webinspector</string>
		<key>USBOnlyService</key>
		<true/>
		<key>UserName</key>
		<string>mobile</string>
		<key>XPCServiceName</key>
		<string>com.apple.webinspector</string>
	</dict>
</dict>
</plist>

Notes

The "com.apple.afc2" array is added during the jailbreak process or when installing AFC2.

Parents

(root)/System/Library/Lockdown