Displaying all posts for Scripting

Add user to admin group with Applescript

by January 12, 2010 » Add the second comment.

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 […]

 

LANDesk – Adding Apple Warranty Data to Inventory

by November 3, 2008 » Add more comments.

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

by September 2, 2007 » Add more comments.

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

by July 31, 2007 » Add more comments.

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 […]

 

Bind to Active Directory Applescript

by July 28, 2007 » Add more comments.

There are several methods out there to automate binding to Active Directory including over Apple Remote Desktop, after a machine has been imaged using a login hook and a number of other methods. We are just starting to move our Macs to AD. Most of the machines are already imaged and will need to be […]

 

How to add an AD user as a local admin

by July 3, 2007 » Add more comments.

We all know the obvious way to allow a given group(s) to be an admin of a Mac bound to Active Directory (see image below). Although the “Allow administration by group” setting in Directory Access allows users in that group to installsoftware and perform certain other admin functions, there is a bug (or feature?) in […]

 
Pages:«12