Posts Tagged ‘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 [...]
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.
Bind to AD using Apple Remote Desktop
Need to bind a handful of Macs to Active Directory remotely? There are a couple scripts online already, including one from MacEnterprise and from Bombich. But I’ve never been able to get those to work when using with ARD. Either the AD plugin wasn’t activated or AD wasn’t added to the authentication path, etc. There’s [...]
Convert Local Account’s Home to AD account with Local Home
Here is a script that I use to convert a local home folder to be used by an Active Directory account. This script will rename the home folder first, then delete the local user account from NetInfo and rename the home folder back and change the permissions so the AD account can use the home [...]

