By accepting you will be accessing a service provided by a third-party external to https://it-playground.net/
How to add domain users to local groups on Mac OS X
today I am going to show you how to add domain users to local groups on Mac OS X when you have to manage such devices in any corporate environment. You can add domain users and groups to local groups on Mac OS X from the command line. Currently (OS X Mavericks 10.9.1) and currently this can’t be achieved using GUI if the domain user isn’t currently logged on.
Here’s the command line for a domain user:
sudo dseditgroup -o edit -a domainname\\%username% -t user admin
where the domainname is the actual domain name. Here’s the command line for a domain group:
sudo dseditgroup -o edit -a domainname\\%groupname% -t group admin
where the domainname is the actual domain name. You can verify that you have added the user with the following command:
dseditgroup -o read admin
It should be listed under the dsAttrTypeStandard:GroupMembership attribute.
That’s for now and if you like this article I would definitely like if you share it using any social network of your interest.