New user account (admin or not) on mac
This Agent procedure allows to create a new user on Mac OSX.
When the procedure is scheduled, it will prompt for a Username, Full Name, Password and Admin access (yes/no).
If you enter yes for admin access, keep in mind the changes will not take effect until the endpoint is restarted which is not included in the procedure in order to give you the option to restart at a later time.
If you plan on using the script more than once on a specific endpoint, it is required to change the "UniqueID" on line 8 for a different number.
Did exactly what I needed to do. Great job!
Worked brilliantly, just what I needed. I found it is possible to rerun the procedure against an existing user to modify it also, so I made 1 slight modification, which was to add an "Else" after checkadmin to do a -delete and remove admin if "yes" was not supplied
Create New Mac User Account has no comments.