d8307d
diff -Nrup a/nss/nsswitch.conf b/nss/nsswitch.conf
d8307d
--- a/nss/nsswitch.conf	2019-10-25 12:14:09.255834866 -0400
d8307d
+++ b/nss/nsswitch.conf	2019-10-25 12:50:08.425769248 -0400
d8307d
@@ -1,7 +1,7 @@
d8307d
 #
d8307d
 # /etc/nsswitch.conf
d8307d
 #
d8307d
-# An example Name Service Switch config file. This file should be
d8307d
+# Name Service Switch config file. This file should be
d8307d
 # sorted with the most-used services at the beginning.
d8307d
 #
d8307d
 # Valid databases are: aliases, ethers, group, gshadow, hosts,
d8307d
@@ -52,18 +52,20 @@
d8307d
 # shadow:    db files
d8307d
 # group:     db files
d8307d
 
d8307d
-# In alphabetical order. Re-order as required to optimize peformance.
d8307d
+# In order of likelihood of use to accelerate lookup.
d8307d
+passwd:     sss files
d8307d
+shadow:     files sss
d8307d
+group:      sss files
d8307d
+hosts:      files dns myhostname
d8307d
+services:   files sss
d8307d
+netgroup:   sss
d8307d
+automount:  files sss
d8307d
+
d8307d
 aliases:    files
d8307d
 ethers:     files
d8307d
-group:      files
d8307d
 gshadow:    files
d8307d
-hosts:      files dns
d8307d
 initgroups: files
d8307d
-netgroup:   files
d8307d
 networks:   files dns
d8307d
-passwd:     files
d8307d
 protocols:  files
d8307d
 publickey:  files
d8307d
 rpc:        files
d8307d
-shadow:     files
d8307d
-services:   files