Files Modified When You Join a Domain

Some system files are changed when a computer is joined to a domain. The files that change depend on the platform, the distribution, and the system's configuration.

Run the following command to see a list of the changes:

domainjoin-cli join --advanced --preview domainName

Not all the following files are present on all computers.

The following files might be modified.

  • /etc/nsswitch.conf (on AIX, the file is /etc/netsvcs.conf)
  • /etc/pam.conf on AIX, HP-UX, and Solaris
  • /etc/pam.d/* on Linux
  • /etc/ssh/{ssh_config,sshd_config} (or wherever sshd configuration is located)
  • /etc/hosts

To join a domain without modifying /etc/hosts, please see Join Active Directory Without Changing /etc/hosts.

  • /etc/{hostname,HOSTNAME,hostname.*}
  • /etc/krb5.conf
  • /etc/krb5/krb5.conf