I have a Mac OSX server running Snow Leapord. I only have ssh access, and I have root access. I want to add a new user. I'm a long time unix user and was a bit suprised to see
useradd not available. A bit of digging (e.g. this SO question) shows that it's not as straight forward.
I've tried things I've read, such as
nitool ("command not found"), and
dscl / -create ... ("Data Source (/) not valid"). So how the hell do I create a new user user on the command line in OSX?!