Mac OS X Server Command Line Administration
/ February 21, 2008
Mac OS X server administration from the command line can be much faster (and cheaper) than using a GUI solution. Here are some tips to get you started.
Creating User Accounts
Create a new account with administrator privileges (can use sudo):
sudo /System/Library/ServerSetup/serversetup -createUser 'Full Name' shortname password
Add User to a Group
Add the pjones user to the deploy group:
sudo niutil -appendprop / /groups/deploy users pjones