Skip to content

BASH script for deploying Apple Mac OS based computers with Centrify for user & computer compliance management.

Notifications You must be signed in to change notification settings

fearlesschicken/mac-deploy-centrify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mac-deploy-centrify

This was written to help facilitate rapid and consistent Mac deployment. Centrify was used to control authentication and enforce group policy. This would allow for new helpdesk personnel to deploy Mac's with minimal training.

The goals of this project:

  • Easily set the EFI password on the Mac
  • Set the computer name
  • Install the Centrify package
  • Join the computer to the specified domain
  • Add the specified user as a mobile user
  • Promote the specified mobile user to local administrator (req. of this project)

Manifest

Will add.

.settings File

Obviously I need to document a lot more, but here are the global environment variables you really should touch in the .settings file.

title="CHANGEME - Mac Deployment Menu" Menu title, change it to suit your organization.

dcip="CHANGEME" IP address of a pingable domain controller, this will soon be depricated when I change to an active AD search vs. just a ping check.

local_administrator="CHANGEME" Local administrator account used to promote the user being issued to the computer to administrator.

adjoin_domain="CHANGEME" Active directory domain the machine will be joined to. example: domain.local

adjoin_user="CHANGEME" User account with appropriate permissions to add/remove/change computer accounts in your domain.

adjoin_password_hashed="CHANGEME" Password for above named user. This password needs to be encoded with base64. You should also protect your .settings file with apropriate octal permissions. I realize that's minimal protection at best, but this isn't really meant to be kept on the deployed machine. example: echo "mypasswd" | base64

adjoin_ou="CHANGEME" OU the computer account will be placed in. example: OU=Computers,OU=company,DC=domain,DC=local

Author

Andrew Shinn -- ashinn@ecimulti.org

Twitter: @DaGimpster

Blog

About

BASH script for deploying Apple Mac OS based computers with Centrify for user & computer compliance management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published