NISクライアントはホームフォルダを自動的にマウントしません。

NISクライアントはホームフォルダを自動的にマウントしません。

私はコンピューティングクラスタをセットアップしており、NISサーバーとクライアントの環境設定を担当しています。これまで、私はNISクライアントがホームディレクトリをマウントしないことを除いて、すべての点で成功しました。

私は次のステップに従ってきましたこの記事、今までやってきました。 NISクライアントに正しくログインできますが、そこに到着するとbashプロンプトが表示され、と表示されますCould not chdir to home directory /nethome/cfduser: No such file or directory。 bashプロンプトに入ると、/nethomeディレクトリが存在しますが空であることを確認できます。

ここでどこに行くべきかわかりません。必要なすべての構成ファイルを提供でき、必要に応じてより多くのファイルも提供できます。

クライアントとサーバーの両方がCentOS 7 b1804を実行しています。

編集1:

私のもの/etc/auto.master

# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc   /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
/net    -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master

/nethome      /etc/auto.home

私のもの/etc/auto.home

* -rw,sync 192.168.1.1:/nethome/&

ベストアンサー1

おすすめ記事