Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Scripts to create users and groups from the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Scripts to create users and groups from the Terminal
Authored by: lolopb on Dec 19, '05 07:51:23AM

Nice, but in order to function properly in Tiger, groups should be manipulated with the "dseditgroup" command only.

As for users creation, you should have a look at "dscl" command (and of course manpage), it's much more powerful and Mac OS X compliant than what you do, in fact. In your script, for example, you don't create any GeneratedUID for users which can be useful for the system.

[ Reply to This | # ]