Skip to content

Instantly share code, notes, and snippets.

@bbidulock
Created May 11, 2018 18:45
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 bbidulock/e9ee9f0450a65f1a49ccadf1caa07929 to your computer and use it in GitHub Desktop.
Save bbidulock/e9ee9f0450a65f1a49ccadf1caa07929 to your computer and use it in GitHub Desktop.
My /etc/nsswitch.conf file.
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: compat nis mymachines systemd
group: compat nis mymachines systemd
shadow: compat nis
publickey: files
hosts: files mdns4_minimal [NOTFOUND=return] mymachines resolve [!UNAVAIL=return] dns myhostname mdns4 nis
networks: files dns nis
protocols: files nis
services: files nis
ethers: files nis
rpc: files
netgroup: files nis
netmasks: files
bootparams: files
automount: files nis
aliases: files nis
# End /etc/nsswitch.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment