I want all the users to automount from a NFS server except for a few accounts that should use the local home folder. Thus each client computer (and the nfs server) has a few folders in /home, the rest mount from the nfs server into /home as well. Is there a way to accomplish this?
I’ve only found two workarounds. Put all the nfs automounted folders somewhere else (ie. /home/autofs/&). Or move the local home folders elsewhere. The only other way I can think of is not to use an indirect wildcard and directly mount every user. None of these options are optimal.
auto.master
...
/home/auto auto.home
auto.home
* -fstype=nfs,rw,sync,soft nfs-server:/home/auto/&