Wednesday 8 July 2020

Domain Join Script

Bash script to prepare an Ubuntu Mate 16.04 host for joining to a MS Active Directory Domain. (Tested on Ubuntu 16.04 Server)

Download and customise the script

chmod +x domain_join.sh
edit lines 3 through 10 for your environment.

Run the script

sudo -s
./domain_join.sh

Sudo Users

Create a new group anywhere in AD called admin. This grants members of the group permission to enter root on Ubuntu.

(Astrovatech, Dover, Kent, UK)

No comments: