add user to group in Leopard

Finlay Dobbie finlay.dobbie at gmail.com
Tue Dec 11 05:37:12 PST 2007


On Dec 11, 2007 11:08 AM, David Herren <david at idiomatrix.com> wrote:
> You may have misunderstood my question. In that UI there is no way to
> _add_ an _existing_ group to an _existing_ user, not _change_ an
> existing users _primary_ group.

I believe you mean add an existing USER to an existing GROUP.

If you create your own group, a new Groups disclosure appears
alongside "Other Accounts", which then lets you select group
membership by a bunch of checkboxes. There is, however, no way to edit
membership for existing groups.

The best way of directly manipulating groups at the low-level is to
use the dseditgroup command. See its manpage for more information.

 -- Finlay


More information about the MacOSX-talk mailing list