Skip to content

Instantly share code, notes, and snippets.

@nzbart
Created January 21, 2020 20:26
Embed
What would you like to do?
Join Ubuntu Server to Active Directory (AD) domain
#Optional steps:
#apt update && apt full-upgrade -y && apt auto-remove -y
#apt install -y vim-nox
apt install -y packagekit realmd
pam-auth-update --enable mkhomedir
echo '%domain\ admins@example.com ALL=(ALL:ALL) ALL' > /etc/sudoers.d/example
realm join -v -U domain_admin_user_name example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment