Add users on OSX server with SSH

Hi

Is it possible to add users on a Mac OSX server from a unix system with ssh?
If it is what file to alter?

brg Nicke

netinfo(5)
niutil(1)

Adding users via the shell isn't as easy as say 'useradd username'. If this is something you think you might be doing often, you might want to script it. Note: editing /etc/passwd does not work, though you can use flat files and niload(8)/nidump(8).

cejoe

Hey, it's cool to have someone who knows OSX, since a lot of new users are being introduced to Unix via their Mac.

Hope you stick around!

Yes. I think I recall having seen some of those scripts floating around. It's certainly not as simple as 'useradd'.

Check out softrak at http://www.stepwise.com

dani++