Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Silas1066

macrumors regular
Original poster
Nov 1, 2009
110
0
I have a Mac running Leopard, and I want to use the dseditgroup command to create a local group in the /Groups folder.

I go into my terminal and type

dseditgroup -o -create -u admin Accountants

it prompts me for a password, but doesn't create the group! If I use the dscl . read /Groups/ command, I can query other groups on the machine, but I don't see Accountants. I get a DS error

what am I doing wrong?
 
I'll answer my own question since I figured it out

there is no hyphen "-" before "create"

it is

dseditgroup -o create

and then it will work
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.