{
"$type": "site.standard.document",
"canonicalUrl": "https://justingarrison.com/blog/2013-07-10-make-domain-users-part-of-local-admin-group-in-os-x",
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreifgmy4p6loqmr7j2y6dfnjxll3zomn7aglwdkdfjb7xhxtcivs74a"
},
"mimeType": "image/png",
"size": 213848
},
"description": "I came across this and thought it may be helpful for someone. OS X only uses the traditional",
"path": "/blog/2013-07-10-make-domain-users-part-of-local-admin-group-in-os-x",
"publishedAt": "2013-07-10T00:00:00.000Z",
"site": "at://did:plc:p7uix7mresfq4nfzxp3klgfa/site.standard.publication/3mmdn7mg2qm2d",
"textContent": "I came across this and thought it may be helpful for someone.\n\nOS X only uses the traditional /etc/passwd and /etc/group files when running in single user mode so they are no help. Instead we need to do everything with dscl.If you want to make a domain user part of the local admin group in OS X without needing them to login first you can use the following command.\n\nYou can also set individual users as part of the admin group with\n\nTwo important things to note is you need to use the full path to dseditgroup and the domain needs to be capitalized.\n\nYou can also view what users are part of a group with\n\nand you can list all group names with\n\nLet me know if this helps you in the comments.\n\n_Originally published at 1n73r.net on July 10, 2013._",
"title": "Make Domain Users Part of Local Admin Group in OS X"
}