Skip to content

Instantly share code, notes, and snippets.

@moisei
Last active May 22, 2019 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moisei/faf81c80b0c35cbefc4c921ceeda99db to your computer and use it in GitHub Desktop.
Save moisei/faf81c80b0c35cbefc4c921ceeda99db to your computer and use it in GitHub Desktop.
Allow users to login into Linux instance with ActiveDirectory credentials
https://help.ubuntu.com/lts/serverguide/sssd-ad.html
/etc/krb5.conf: domain name must be CAPITAL
default_realm = MYUBUNTU.EXAMPLE.COM
/etc/hosts:
127.0.0.1 machine.example.com
/etc/sudoers:
https://derflounder.wordpress.com/2012/12/14/adding-ad-domain-groups-to-etcsudoers
%domain\ admins ALL=(ALL) ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment