Sample Header Ad - 728x90

FreeIPA automount home directory prevents local user home directory creation

0 votes
1 answer
2440 views
I have set up FreeIPA as IDM software for my network and successfully configured a Kerberos aware NFS server and Kerberos aware NFS clients. When a user logs into a machine, it's user directory on the NFS server is automatically mounted via autofs from nfs:/srv/nfs/home/userdir to /home/userdir on the local machine. I am facing the problem that when I need to create a local user on one machine, like the git user, that I cannot as the **root** user create a new home directory for the git user under /home/git, because it says useradd: cannot create directory /home/git My auto.home map configuration is the following: * nfs:/srv/nfs/home/& and when I log in as any user, only the user's home directory is mounted under /home And my auto.master map has the following entry: /home auto.home the output from mount is the following: auto.home on /home type autofs (rw,relatime,fd=6,pgrp=651,timeout=300,minproto=5,maxproto=5,indirect,pipe_ino=15731) nfs:/srv/nfs/home/userdir on /home/userdir type nfs4 (rw,relatime,vers=4.2,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=krb5,clientaddr=10.110.29.100,local_lock=none,addr=10.110.29.107) I omitted unnecessary information about other file system and devices. getfacl for the home directory returns: file: home owner: root group: root user::rwx group::r-x other::r-x Now, my question is, is this setup preventing my local root account from creating a local home directory on my machine?
Asked by Grigorios (313 rep)
Apr 24, 2023, 12:17 PM
Last activity: Apr 24, 2023, 05:07 PM