我不小心损坏了我的nsswithch.conf文件,现在我的主机不工作了。我如何恢复或重新创建它?
发布于 2017-03-23 04:28:32
这个文件是相对通用的,我会从同一个Ubuntu版本的工作系统中复制它。
这至少应该让你去-它是默认的异种,应该工作,无论在几乎任何版本。
# /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
gshadow: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nishttps://askubuntu.com/questions/895880
复制相似问题