Client Management - MCX



Similar documents
Tips and Tricks for Mac Management

A user provided external FW or USB drive is needed to explore Time Machine and the new External account feature for Mobile Accounts.

Integrating with Active Directory. MacSysAdmin 2010

Wazza s QuickStart 10. Leopard Server - Managing Preferences

Configuring the Active Directory Plug-in

Certificates and Application Resigning

Apple Client Management with JAMF. Andrew D Huston Client Infrastructure Group Informa8on Services Kent State University

Document OwnCloud Collaboration Server (DOCS) User Manual. How to Access Document Storage

Managing ios Devices. Andrew Wellington Division of Information The Australian National University XW11

Manage Your Mac with Active Directory Group Policies

Mac OS X Server User Management Version 10.6 Snow Leopard

Integrating Mac OS X 10.6 with Active Directory. 1 April 2010

Cloud Services MDM. ios User Guide

How To Package In Composer (Amd64)

Take Your Mac OS X Security to NSA Standards June 19, 2014 by Larry Chafin

University of Oregon Information Services. Likewise Enterprise 5.3 Administrator s Guide

Select the name of the application and click on Force Quit.

UP L18 Enhanced MDM and Updated Protection Hands-On Lab

Apple Remote Desktop Focus on Task Server

What's it Called on my Mac?

User Management Tool 1.5

Introduction to Mac Operating System: Snow Leopard

Remote Configuration for FileBrowser

Advanced Configuration Steps

Sophos SafeGuard Native Device Encryption for Mac Administrator help. Product version: 7

Check out our website!

TIPS FOR USING OS X 10.8 MOUNTAIN LION

Using Centrify s DirectControl with Mac OS X

Mobile Printing. User's Guide

How To Harden Ancient Mac Xp On Mac Moonlight (Mac) On A Macbook V.Xo (Apple) With A Hardening Mode On A Windows Xp On A

Wazza s QuickStart 1. Leopard Server - Install & Configure DNS

Other documents in this series are available at: servernotes.wazmac.com

Administering Jive for Outlook

Using a login script for deployment of Kaspersky Network Agent to Mac OS X clients

Casper Suite Administrator s Guide. Version 9.0

OneLogin Integration User Guide

GO!Enterprise MDM Device Application User Guide Installation and Configuration for ios Devices

Qbox User Manual. Version 7.0

End User Devices Security Guidance: Apple OS X 10.10

How to install and use the File Sharing Outlook Plugin

Mac OS X Lion Server

Mac OS X for Unix Geeks. Hit The Ground Running

Apple Time Machine. Backing up. Setting up Time Machine

Optional Mainserver Setup Instructions for OS X Support

Sharing Files and Printers. Mac/PC Compatibility: QuickStart Guide for Business

Mac OS X Security Checklist:

DeployStudio Server Quick Install

Mass Deploying Bomgar Software to Macs

Charles Firth Managing Macs in a Windows World

Aqua Connect Load Balancer User Manual (Linux)

Citrix Receiver for Mobile Devices Troubleshooting Guide

QuickStart Guide for Client Management. Version 8.7

User Management Tool 1.6

Initial Setup of Microsoft Outlook 2011 with IMAP for OS X Lion

GO!Enterprise MDM Device Application User Guide Installation and Configuration for ios with TouchDown

Mobile Configuration Profiles for ios Devices Technical Note

User Guide. Version R91. English

CHARTER BUSINESS custom hosting faqs 2010 INTERNET. Q. How do I access my ? Q. How do I change or reset a password for an account?

Administering FileVault 2 on OS X Lion with the Casper Suite. Technical Paper July 2012

Large Scale Mac OS X Client Management Using Windows Servers

Open Directory & OpenLDAP. David M. O Rourke Engineering Manager

RESCO MOBILE CRM USER GUIDE. Access your CRM data on any mobile platform ipad, iphone, Android, Windows Phone or Win XP/Vista/7/8

Best Practices: Integrating Mac OS X with Active Directory. Technical White Paper April 2009

Sophos Mobile Control Startup guide. Product version: 3.5

Sentral servers provide a wide range of services to school networks.

QuickStart Guide for Managing Computers. Version 9.2

Wazza s QuickStart 13. Leopard Server - Windows Domain

Configure Single Sign on Between Domino and WPS

Setting up FileMaker 10 Server

VPN Web Portal Usage Guide

Sophos Mobile Control Startup guide. Product version: 3

Instructions for Adding a MacOS 10.4.x Client to ASURITE

1. Scope of Service. 1.1 About Boxcryptor Classic

Buffalo Web Access. LinkStation Pro LS-XHL

Apple Mac VPN Service Setting up Remote Desktop

Sophos Mobile Control SaaS startup guide. Product version: 6

User's Guide. Product Version: Publication Date: 7/25/2011

Troubleshooting / FAQ

EZcast technical documentation

Google Integration Instructions

Switch Basics Mac vs PC: On Windows, I used to...mac I can

The Mac OS X Server Essentials v10.5 Exam Skills Assessment Guide

MailTags 4. Quick Start Guide V: 4.0

Active Directory Self-Service FAQ

Vtiger CRM Outlook Plugin Documentation

Casper Suite Administrator s Guide. Version 9.2

How to configure Mac OS X Server

The. Mac OS X Snow Leopard. PocketGuide. JeffCarlson. Ginormous knowledge, pocket skeed. Peachpit Press

Anchor End-User Guide

Imaging License Server User Guide

WatchDox for Windows User Guide. Version 3.9.0

PhoneView Product Manual

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.0

SonicWALL SSL VPN 3.0 HTTP(S) Reverse Proxy Support

Qsync Install Qsync utility Login the NAS The address is :8080 bfsteelinc.info:8080

SimpleFTP. User s Guide. On-Core Software, LLC. 893 Sycamore Ave. Tinton Falls, NJ United States of America

Seagate Dashboard User Guide

Transcription:

apple Client Management - MCX John DeTroye Senior Consulting Engineer Apple Education Session PSUMAC301 1

Defining Managed Client 2

Managed Client is Usage Management Establish a consistent user experience - Define the user workflow experience - Enforce IT policy - Distribute configuration preferences Management by imaging is NOT Client Management 3

MCX Frequency or Permanence Managed User Control None, Never unmanaged or never set user has full control * Once preset with value from DS user has full control * Often ** reset with value from DS at each login user has full control *, reset at logout Always forced from DS user cannot control * Dependent on user permission under normal, unmanaged circumstances ** Available in Details settings only 4

MCX_settings locations User Computer Priority Computer Group A Computer Group B Computer Group C Group A Group B Group C 5

Hierarchical Groups Management via Computer Lists (pre-10.5 & AD) Software Update Server One Login Window List Login Energy Saver Allow Sleep Software Update Server One Login Window Type-in Login Energy Saver Allow Sleep Software Update Server One Login Window List Login Energy Saver Never Sleep 6

Hierarchical Groups Management via Computer Groups (10.5+) Software Update Server One Login Window List Login Login Window Type-in Login Energy Saver Never Sleep Energy Saver Allow Sleep 7

Hierarchical Groups Both Computer and User groups Application Launch Restrictions No Dashboard Dock Show Classroom Apps Dock Show Pro Apps Mobility Create PHD Application Launch Restrictions Allow Dashboard Dock Show Admin Apps 8

MCX Lists Will Be Concatenated User Computer Computer Group D Computer Group E Computer Group A Computer Group B Computer Group F Computer Group C Group A Parent of A Grandparent of A Group B Another Parent of A Group C Combined Dock 9

Compositor - the core of mcx settings At the Login Window - Settings affecting the computer are applied At login - All settings for a user plus all workgroups are combined composited - The composited plist is copied into /Library/Managed Preferences/ <username> 10

MCX cache control MCX cache is always tagged dirty - Refreshed at boot to LoginWindow - Refreshed at logout - Refreshed at network transition To delete all cached info at client: sudo dscl. -delete /Computers rm -rf /Library/Managed\ Preferences To remove mcx-settings for a specific user at a client: sudo dscl. -delete /Users/username dsattrtypestandard:mcxsettings 11

Debugging MCX Setting Conflicts System Profiler - Managed Client 12

Managed Client design 13

Local Preferences Set in System Preferences 14

Local Preferences Live in ~/Library/Preferences/ - Stored in plist format - Reverse domain name notation - e.g. com.apple.dock 15

Network managed preferences Workgroup Manager 16

MCXSettings in network directory 17

Anatomy of a Plist File Keyname Type Value 18

Anatomy of a Plist It s just XML <?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>autohide</key> <false/> well, sort of - Mac OS X plists are in binary format, convert before opening plutil -convert xml1 com.apple.dock.plist; open -e!$ 19

Defaults CLI tool Direct access to property lists defaults read com.apple.dock autohide App Domain Keyname Type Value defaults write com.apple.dock autohide -bool true Example: Time Machine - stop asking about drives defaults write com.apple.timemachine DoNotOfferNewDisksForBackup -bool -true defaults read com.apple.timemachine { } DoNotOfferNewDisksForBackup = 1; 20

Managed Client settings via dscl Reading Values dscl -mcxread /LDAPv3/127.0.0.1/ComputerGroups/clients - Spews out a lot of XML App domain: com.apple.dock Key: contents-immutable State: always Value: 1 App domain: com.apple.dock Key: static-only State: always Value: 1 App domain: com.apple.dock Key: AppItems-Raw State: always Value: ( 21

{ "mcx_typehint" = 1; "tile-data" = { "file-data" = { "_CFURLString" = "/Applications/ Safari.app"; "_CFURLStringType" = 0; }; "file-label" = Safari; }; "tile-type" = "file-tile"; }, { "mcx_typehint" = 1; "tile-data" = { "file-data" = { "_CFURLString" = "/Applications/ Preview.app"; "_CFURLStringType" = 0; }; "file-label" = Preview; }; "tile-type" = "file-tile"; }, { "mcx_typehint" = 1; 22

"tile-data" = { "file-data" = { "_CFURLString" = "/Applications/ itunes.app"; "_CFURLStringType" = 0; }; "file-label" = itunes; }; "tile-type" = "file-tile"; }, { "mcx_typehint" = 1; "tile-data" = { "file-data" = { "_CFURLString" = "/Applications/Photo Booth.app"; "_CFURLStringType" = 0; }; "file-label" = "Photo Booth"; }; "tile-type" = "file-tile"; }, { "mcx_typehint" = 1; "tile-data" = { 23

"file-data" = { "_CFURLString" = "/Applications/ iphoto.app"; "_CFURLStringType" = 0; }; "file-label" = iphoto; }; "tile-type" = "file-tile"; }, { "mcx_typehint" = 1; "tile-data" = { "file-data" = { "_CFURLString" = "/Applications/ imovie.app"; "_CFURLStringType" = 0; }; "file-label" = imovie; }; "tile-type" = "file-tile"; }, { "mcx_typehint" = 1; "tile-data" = { "file-data" = { 24

This could go on for another hundred slides or so 25

Debugging MCX Setting Conflicts mcxquery mcxquery -user <username> -group <groupname> -computer <compname> - Use = for current user/group/computer mcxquery -user = -group = -computer = com.apple.finder AppleShowAllExtensions-immutable labclients (Computer Group) always 1 ComputerViewOptions_Arrangement labclients (Computer Group) once Name ComputerViewOptions_CalculateAllSizes labclients (Computer Group) once 0 48 ComputerViewOptions_IconSize labclients (Computer Group) once 26

dscl >mcxhelp Complete CLI access to MCX - -mcxread - -mcxset - -mcxedit - mcximport - plus 27

Preferences in Workgroup Manager 28

Preferences in WGM / Details MCX Domain 29

Dual Directory Integration Authenticating Directory LDAP AD OD edir Open Directory Mac OS X Server /NAS Solution Directory Service Plug-in User Authentication (SSO) 30

Apple White Paper AD/OD Dual Directory Integration apple Best Practices: Integrating Mac OS X with Active Directory Technical White Paper apple.com/business/resources 31

http://www.apple.com/education/resources/ information-technology.html 32

Active Directory Schema Extensions Considerations - Cost / Support - Computer Lists vs. Computer Groups - W2K3R2 - RFC 2307 - Active Directory Users and Computers/Group Policy Objects (Windows) - Workgroup Manager (Mac OS X) - Support - Inability to revert changes 33

Apple White Paper Active Directory Schema Extensions apple Modifying the Active Directory Schema to Support Mac Systems Strategies and Best Practices for Planning, Testing, and Deploying the Mac Successfully in Your Enterprise October 2009 apple.com/business/resources 34

Apple Online Seminar Active Directory Schema Extensions http://seminars.apple.com/seminarsonline/modifying/apple 35

Key Managed client settings 36

Application management Who Gets to Run What? - Applications are digitally signed - Third Party Apps will be signed by WGM - Updates need to be re-signed and redeployed - Any modification to Application Bundle will invalidate signature and revoke launch permission - White List can be complex to set up - Everything else is blacklisted 37

Application management Launch Restrictions by Folder - If Disallow is set, at least one allow folder must be set - Top down resolution, deny wins - Allowed signed apps can always be launched 38

Login Setting options - Control login type - Set auto logout - Manage local admins (or not) - Enable special mobile account - External - covered later on - Enable Guest account globally 39

Login Access Control List (ACL) - Specify access by group or user - Set workgroup combining - All groups with preferences are combined into a single user experience at login - Avoids the Which group do I use again? - If a group is not listed, it s MCX settings will not apply at login 40

Network Setting basic network access Establish global proxies Disable Internet Sharing Allow / deny Bluetooth Be careful with the Airport setting 41 41

Mobility preferences Mobile Account settings - Synced or non-synced - External / Filevault / Expiration 42

K.I.S.S. rules in setting up MCX Use computer groups for wider reach in settings Set Once to allow user s a little leeway where possible - Dock placement Use Always to set items that must be permanent - Application restrictions For labs, use Often to allow a controlled leeway - More on this in the Details section 43

Advanced MCX - Details 44

Detailed view of GUI settings plus more Granular access to MCX settings A way to review settings made at the GUI plus add and modify settings that won t see a checkbox 45

Inside the Managed Client Keys to the castle @ /System/Library/ CoreServices/Managed Client - Preloaded manifests for many preferences: - Desktop Picture - Folder Redirection - ical, ichat, and Mail preloading - itunes - Menu Extras - Mobile Account extras - Quicktime Pro registration - Safari keys - and more 46

Some apps contain preference manifests Screen shot of Safari Prefs in Details with and without Manifest imported 47

Controlling Menu Bar Icons 48

Folder Redirection Help for network home users 49

Time Machine defaults write com.apple.timemachine DoNotOfferNewDisksForBackup -bool YES or 50

Importing preferences Example - Sidebar 51

Set up master properly Finder Preferences - Sidebar 52

Locate altered plist from WGM ~/Library/Preferences/com.apple.sidebarlists 53

Clean up settings Remove unneeded keys 54

Details - all settings are visible Imported settings are in italics 55

Open Source list of manifests http://code.google.com/p/manifestdestiny/ 56

Control as Little as Possible More control means more work - Controls should support and guide users, not hinder them - Provide a consistent environment - Maintaining more controls = more conflicts = more debugging - Don t use technology as a solution for a social problem - Deploy and enforce Acceptable Use Policies 57

Useful URL s Official server docs / Education IT Resources - http://www.apple.com/server/documentation - http://www.apple.com/education/resources/ information-technology.html - or itunes - search Apple Education in Podcasts 58

Q&A 59

apple 60