Best way to create a Local Administrator on a Mac

(imported topic written by pdentremont91)

Hi,

We are about to start supporting Macs. We need a way to create a local administrator account on Macs. Although I read a post advising against using action script on PCs(we currently use a Wise EXE to do this on PCs), I was wondering how others have dealt with getting local administrators on Macs.

Thanks,

Peter

(imported comment written by NoahSalzman)

First, you need to come up with a shell script that will work on the particular version of Mac OS X you are interested in (a “create an admin” shell script for 10.3 may not work on 10.6, for example).

Then, you can simply create an action that runs that script, targeted to the correct version of Mac OS X.

Here is an . The bits that expect user interaction would have to be ripped out.

(imported comment written by jessewk)

except, remember not to distribute passwords using BigFix