dseditgroup question

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Silas1066, Sep 7, 2010.

  1. Silas1066 macrumors regular

    Joined:
    Nov 1, 2009
    #1
    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?
     
  2. Silas1066 thread starter macrumors regular

    Joined:
    Nov 1, 2009
    #2
    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
     

Share This Page