Scripting
Migrate Local User to Domain Account
If you are migrating your machines to authenticate via Active Directory, you may need to convert your local user accounts and their home folders to an AD user account and retain the home folder. I had a script posted here but that version was Tiger only because it used NI* commands.
Add user to admin group with Applescript
Need a way for your team to easily make a network or local user an admin? Copy and paste the code below into Script Editor (Applescript Editor in 10.6) and save it as an application. This can be used before deploying a machine to the user, or after they’ve logged in.
(*
Add user to admin group
This [...]
PPC Not booting from NetBoot Across Subnets package
NetBoot Across Subnets from Mike Bombich has a problem setting the startup disk on a PPC machine when the target is a Leopard NetBoot set. You may see this in your system.log on your NetBoot server:
Dec 29 10:42:08 server tftpd[781]: adding RRQ to cache: 170.140.xxx.xxx,NetBoot/NetBootSP0/DS_MP_2008-12-29.nbi/booter
Dec 29 10:42:08 server tftpd[782]: file not found, trying [/private/tftpboot/NetBoot/NetBootSP0/DS_MP_2008-12-29.nbi/boote]
Dec 29 10:42:08 server tftpd[782]: file not found, trying [/private/tftpboot/NetBoot/NetBootSP0/DS_MP_2008-12-29.nbi/boot]
Adobe Flash 10 Installer launches Finder as root
Several web sites have begun requiring Flash 10 to play their content. This is partially because the PC version of Flash 9 had some security problems that I won’t get into here.
The good news:
Adobe provides their Mac version as a package installer.
The bad news:
LANDesk – Adding Apple Warranty Data to Inventory
A bash script that will do an online lookup of the Mac’s serial # to determine its’ warranty status, then add that data to custom data for LANDesk.

