Add users via AppleScript, Perl and expect

Feb 05, '07 07:30:03AM

Contributed by: Anonymous

If you want a quick and easy Applescript which will add users (with group) and set the password, I've written just such a program. For all the details, check out this post on my blog. You can run this on the command line or via Apple Remote Desktop. It's kind of handy if you don't have access to the GUI and need one command to add a user.

[robg adds: This previous hint explained how to add users from the command line in 10.3, with some caveats in the comments as to some possible issues with the method.]

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2007020204230739