Basically you would go there, copy one of the exising users/groups and make the appropriate changes. make shell = /dev/null and the user can't log in. You would just need to care about the user and group numbers.
But if there's an OS X installer it's probably easier to use that one.
-