# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
cat /etc/nsswitch.conf:
# /etc/nsswitch.conf doc-reference' and `info' packages installed, try:
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
grep "lx" /etc/passwd
lxc-dnsmasq: x:118:126: LXC dnsmasq, ,,:/var/ lib/lxc: /bin/false 65534:: /var/lib/ lxd/:/bin/ false
lxd:x:123:
grep "lx" /etc/subuid
lxd:19695264:65536
grep "lx" /etc/subgid
lxd:19695264:65536