Just move the home directory out of /home if you don't want it auto mounted at 

# usermod -m -d /export/home/local local

That will move it out of /home and copy the contents to the new location of 
/export/home. Since /export/home isn't in the auto.home map it will skip auto 
mounting. Or if the user is an IPA user its:

# ipa-moduser -directory=/export/home/local local


From: Dean Hunter <deanhun...@comcast.net<mailto:deanhun...@comcast.net>>
Date: Wednesday, June 19, 2013 11:07 PM
To: "freeipa-users@redhat.com<mailto:freeipa-users@redhat.com>" 
Subject: Re: [Freeipa-users] Auto-Mount Home Directory for Local Users?
Resent-From: <elijah.elli...@moser-inc.com<mailto:elijah.elli...@moser-inc.com>>

Thanks to all for the suggestions. Adding a "local" key to "/etc/auto.home" 
resolved the problem:

[root@host<mailto:root@host> ~]# ipa automountlocation-tofiles VM
/-      /etc/auto.direct
/home   /etc/auto.home
/mnt/Shared     -fstype=nfs4,sec=krb5p host.hunter.org:/srv/nfs/Shared
*       -fstype=nfs4,sec=krb5p host.hunter.org:/srv/nfs/home/&
local   -fstype=nfs4,sec=sys host.hunter.org:/srv/nfs/home/local

maps not connected to /etc/auto.master:
[root@host<mailto:root@host> ~]#

The only thing that would be better is if "local" did not auto-mount at all.

Freeipa-users mailing list

Reply via email to