Sample Header Ad - 728x90

Using /etc/auto.master.d together with wildcard `*` to mount `/home`

0 votes
1 answer
2639 views
My problem is similar to that described in https://unix.stackexchange.com/q/375516/320598 : I wanted to mount individual users' home directories to /home/*user* using both, * wildcard and directory /etc/auto.master.d in SLES15 SP4, but when I try to mount some directory via ls -l /home/*user*, nothing happens (even when having activated automount debugging, I see no log messages related to my attempt to mount). I've created an /etc/auto.master.d/homes, containing /home /etc/auto.homes, and the latter file itself contains * -bg,rw,hard,intr,nfsvers=3 nfs.server.org:/exports/home/&. I can test-mount my test-user's home directory manually without a problem, however. I'm not quite sure I understood how to use /etc/auto.master.d correctly, so an answer explaining my error could also point me in the right direction.
Asked by U. Windl (1715 rep)
Feb 3, 2023, 09:35 AM
Last activity: Jun 5, 2025, 10:53 AM