Last active
February 7, 2017 15:28
-
-
Save lawrencebrown/9124ed711c3a41c739f39092db8463c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Renaming a mac user | |
---- | |
sudo scutil --set ComputerName "newname" | |
sudo scutil --set LocalHostName "newname" | |
sudo scutil --set HostName "newname" | |
Then: Flush the DNS cache by typing: dscacheutil -flushcache | |
Then: Restart your Mac | |
- | |
DONE | |
Fixing Centrify not loading Filevault policy for user | |
---- | |
Login as macadmin: | |
sudo adflush | |
adgpupdate -T computer | |
Thhen: Login as AD user: | |
adgpupdate | |
Then: Log-out | |
- | |
DONE | |
Moving an exitsing user account to AD | |
---- | |
Login as macadmin not AD user: | |
sudo su | |
ls /Users/ (lists the user accounts) | |
mv /Users/firstname.lastname /Users/firstname.lastname_old (moves the users folder to a new folder) | |
ls /Users/ (check user has been moved) | |
System Preferences > Users & Groups > Delete user | |
Restart machine | |
Run Centrify bind process, restart machine | |
Login as macadmin not AD user: | |
sudo su | |
ls /Users/ (lists the user accounts) | |
rm -rf /Users/firstname.lastname | |
mv /Users/firstname.lastname_old/ /Users/firstname.lastname | |
ls /Users/ (lists the user accounts) | |
chown -Rfv firstname.lastname:staff /Users/firstname.lastname | |
exit | |
- | |
DONE | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment