| | 64 | |
| | 65 | == dscl == |
| | 66 | |
| | 67 | * Making a user account an administrator on Mac (Terminal) |
| | 68 | * https://teamdynamix.umich.edu/TDClient/47/LSAPortal/KB/ArticleDet?ID=1981 |
| | 69 | |
| | 70 | 1. SSH into computer, or find and add it to Apple Remote Desktop. |
| | 71 | 2. Run the following command: |
| | 72 | {{{ |
| | 73 | dscl . -append /Groups/admin GroupMembership username |
| | 74 | }}} |
| | 75 | |
| | 76 | * Please note: An alternative method is to use the following command, but it will only work on Macs bound to Active Directory (not common) |
| | 77 | {{{ |
| | 78 | dseditgroup -o edit -a username -t user admin |
| | 79 | }}} |