没有合适的资源?快使用搜索试试~ 我知道了~
Grok Local MCX.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 5 浏览量
2024-03-23
15:45:05
上传
评论
收藏 1.8MB PDF 举报
温馨提示
试读
33页
Grok Local MCX
资源推荐
资源详情
资源评论
Grok Local MCX
And Managed Preferences In General
This outline was created for the PSU Mac Admins Conference, May 12th, 2011
Intro - Separate the Dirty from the Quick
Getting Reacquainted with Prefs
Pre-History: MacOSXHints and ye olde ‘defaults write’
‘Spray and Pray’ - More of a craft than an art
Just Because You Can... (and even if you think you can’t...)
The Directory Service is inside you!
What is LocalMCX?
Breakdown of all the moving parts
Refresher, Once-Often-Always-Never
Continued, User-Group-Computer-ComputerGroup
The Parental Controls Paradigm
Where the rubber meets the road
Better-than-we-did-yesterday practices™
Bootstrapping
Zero to Sixty
Start with just three steps - download, customize, and deploy
Apple’s unfortunate endorsement message
Package one breakdown
Package two blow-by-blow
Season to taste - Word 2008/2011 default save format example
Take-Home
Where do we go from here?
Recap - Why, What, How
Q&A - Thanks!
Grok Local MCX
And Managed Preferences in General
Devices Silent,
Pencils Down Please
Allister Banks, @sacrilicious - Point Consultants, NYC
My name is Allister Banks and I’m lead engineer for an outsourced IT consulting company in NYC. For those who came to John DeTroye’s talk,
pardon me for covering much of the same ground. But even with as much as I learned by attending his talk, I’ll be covering a specific subset
of deploying Managed Preferences. And Just to set some ground rules - the respect I want to show presenters whose sessions I’m attending
means I want to be in ‘pencils down’ mode - which means:
Please, do not use your computers except for two things - taking notes or using the poll widget to submit your questions. I do, however,
value your feedback immensely as it is critical for this to be as rewarding an experience as possible, so please don’t hesitate and open
yourselves up to the possibility of forgetting a question, just enter it when the spirit moves you.
One of the things that this poll widget is going to help us avoid is hands going up, and when the next slide has the answer to the question
you’re about to ask, the both of us are going to feel we’re not being respectful of everyone’s time. However, do not hold out hope I will cover
the point or topic you’re concerned about - put your question in the system and damn the torpedoes. And I can’t be the judge the
e!ectiveness of my communication skills from this end, so you’ll be helping me a lot as well. As Chris Tucker’s character said in Rush Hour,
“Do you understand the words that are coming out of my mouth?” If I’m seeing question marks on peoples faces, I hope the next action you’ll
perform is submitting a question so my communication can improve.
Based on the feedback from my poll that comes in, plus q&a time at the end, hopefully we’ll have enough of what you’re here for to satisfy
everyone, so let’s get started. First a disclaimer,
1
Your guru is on another
mountain
Elvis has left the building. And I don’t just mean John DeTroye went out to get a soda, I mean I
am not, by any stretch of the imagination, the guru on this topic. All I’ve actually done is adapt
the teachings(meaning blog posts) of Greg Neagle, and used his recent collaboration with Ed
Marczak on a book for Apress called Enterprise Mac Managed Preferences as my sacred text.
[Write EMMP on chalk/dry-erase board]
So, a guru I am not, just an enthusiast who wanted a cleaner way to alter preferences. This is in
part due to the fact that Microsoft deemed it necessary to make docx, pptx and xlsx, which are
xml-enhanced and therefore less compatible formats the default for 2008 o!ce and beyond,
put out a confusing conversion tool. And I could’ve just come up with a hack to get that in my
instaDMG images.
2
Ye Olde defaults write
In fact, if you guys were anything like me until recently, I would probably have read some quick
and dirty hack on MacOSXHints on how to fix this ‘silently’ via the command-line and by gosh it
worked on a test box and then I’d figure out some way to put it in production. Just to give you
the scope of this practice, if you search MacOSXHints you’ll get 333 hits for the exact phrase
“defaults write”. So obviously we have demand, just like in basic economics, and this site was
filling that need for those who were brave enough to venture into the terminal. And then we
come to the brute force way of a!ecting changes on the systems under your purview:
3
Spray & Pray
Less an art than a craft
• /System/Library/User Template
• Apple Remote Desktop
+ Task Server /
Send Unix Command
• etc.
© Threadless / m 2 designs
Again, this is not to say I am above the fray, as if I believe what I’m implementing is best practices, instead of just better-than-we-did-yesterday practices. But, to start, there are
places in unix you are not supposed to go, and Apple has designated that the root /System/Library/User Template folder is one of them; that’s why theres that illustrative ‘prohibited’
icon on it. When they ask you nicely not to mess around in there and you do, along comes an OS update that replaces the functionality you wanted and you’re re-doing your work, or
just otherwise violating the terms of the contract. Also it’s not particularly convenient, because you need access to the system before the user logs in and takes that template and
builds their own customization on top of it. And just in general, though, we know we’d rather not have to mess with the global template.
In the Managed Preferences book I’ll be referring to throughout this talk, they admit they are not an Apple-approved guide, but while you may ‘get away’ with certain techniques,
there’s got to be a better way to do things, especially at scale. And a task server or just plain old Apple Remote Desktop and ‘send unix command’, paired with your favorite snippets,
may just be enough of a reliable distribution method for you. ARD alone certainly had been getting me most of the way for a time. Even harder to admit is the amount of times I’m
not breaking Apple’s rules, but breaking my own. And that is when I copy a quote-unquote known-good plist from one of my systems to overwrite the same one on workstations I
manage and just kindof hope I’m not unnecessarily exposing a fleet of machines to risk because of my laziness.
And doing filedrop of plists, as I call that last technique requires a certain amount of guesswork when it comes to timing, because swapping out a certain file at the wrong time could
lead to application instability, hence the name of this section, “spray and pray”.
I do this with just my local admin account in images still, and I don’t want to sound too harsh, since I know that even revered packaging tools like the luggage has stanzas for
targeting the global template. I’m just trying to get the point across that it’s unfortunate when we make compromises instead of what we know is more warrantee-able and therefore
supportable methods.
4
剩余32页未读,继续阅读
资源评论
百态老人
- 粉丝: 2038
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功