Rm -f /private/var/root/Library/Preferences/ Rm -rf /private/var/root/Library/Preferences/ByHost/* Rm -rf /private/var/root/Library/Keychains/* Rm -rf /private/var/root/Library/Recent\ Servers/* Rm -rf /private/var/root/Library/Caches/* usr/sbin/systemkeychain -k /Library/Keychains/System.keychain -C –f rm -rf /var/db/krb5kdc I will check for filename changes and update this script. #Resolves Duplicate Computer Name When Binding to Open Directory or Active Directory usr/sbin/scutil -set LocalHostName "Master_Image“ usr/sbin/scutil -set ComputerName "Master_Image“ Optional: Shell Scripting Examples #Set Machine Name Back to Generic
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |