< Previous | Contents | Next >
6.9.2.1. Adding nsswitch.conf
The /etc/nsswitch.conf file needs to be created because the Glibc defaults do not work well in a networked environment.
Create a new file /etc/nsswitch.conf by running the following:
cat > /etc/nsswitch.conf << "EOF"
# Begin /etc/nsswitch.conf
passwd: files group: files shadow: files
hosts: files dns networks: files
protocols: files services: files ethers: files rpc: files
# End /etc/nsswitch.conf
EOF
cat > /etc/nsswitch.conf << "EOF"
# Begin /etc/nsswitch.conf
passwd: files group: files shadow: files
hosts: files dns networks: files
protocols: files services: files ethers: files rpc: files
# End /etc/nsswitch.conf
EOF