Sample Header Ad - 728x90

NIS client doesn't automount the home folder

1 vote
0 answers
2477 views
I am setting up a computing cluster, and have been tasked with setting up a NIS server and client environment. So far I have been successful on every front except for the NIS clients are not mounting the home directory. I have been following the steps in [this article](https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-s13-auth.html) , which has gotten me thus far. I am able to login to the NIS client properly, but when it gets there it throws me to a bash prompt and says Could not chdir to home directory /nethome/cfduser: No such file or directory. When I get to the bash prompt I can confirm that that /nethome directory is there, but it is empty. I am not sure where to go from here. I can supply whatever configuration files are needed and more if needed. Both the client and server are running CentOS 7 b1804 Edit 1: My /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 My /etc/auto.home * -rw,sync 192.168.1.1:/nethome/&
Asked by hightekjonathan (111 rep)
Aug 23, 2018, 01:54 PM
Last activity: Aug 23, 2018, 07:19 PM