I have an NIS server and NFS server on two different machines. As a result I'd like to create the user account on the NIS server, but set the home directory to the remote location on the NFS server.
I can do this in two steps, but is there a way to do it in one?
What I'd like is
useradd -d 188.8.131.52:/data1/home/alex -g users accountname
Where 184.108.40.206 is the local IP of the NFS server, but this unfortunately doesn't work.