• Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    More Group Management with dseditgroup

    Now that we’ve covered using dscl to create a group, let’s look at using dseditgroup to do the same thing. In the previous example we created a group called Local Admins or ladmins for short. First let’s read that group’s information. To do so, run dseditgroup followed by the operation, which can be read, create, delete, edit or checkmember as the operations (verbs). The -o is optional, so : dseditgroup -o read ladmins Or the following has the same output: dseditgroup read ladmins In the case of a namespace collision between two ladmins in two directory services then the one listed highest in the Search Policy would be displayed. The…