<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Just move the home directory out of /home if you don't want it auto mounted at all. </div>
<div><br>
</div>
<div># usermod –m –d /export/home/local local</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div># ipa-moduser —directory=/export/home/local local </div>
<div><br>
</div>
<div>-Eli</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Dean Hunter <<a href="mailto:deanhunter@comcast.net">deanhunter@comcast.net</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, June 19, 2013 11:07 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a>" <<a href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Freeipa-users] Auto-Mount Home Directory for Local Users?<br>
<span style="font-weight:bold">Resent-From: </span><<a href="mailto:elijah.elliott@moser-inc.com">elijah.elliott@moser-inc.com</a>><br>
</div>
<div><br>
</div>
<div>
<meta name="GENERATOR" content="GtkHTML/4.6.4">
<div>Thanks to all for the suggestions. Adding a "local" key to "/etc/auto.home" resolved the problem:<br>
<br>
<tt>[<a href="mailto:root@host">root@host</a> ~]# ipa automountlocation-tofiles VM</tt><br>
<tt>/etc/auto.master:</tt><br>
<tt>/-      /etc/auto.direct</tt><br>
<tt>/home   /etc/auto.home</tt><br>
<tt>---------------------------</tt><br>
<tt>/etc/auto.direct:</tt><br>
<tt>/mnt/Shared     -fstype=nfs4,sec=krb5p host.hunter.org:/srv/nfs/Shared</tt><br>
<tt>---------------------------</tt><br>
<tt>/etc/auto.home:</tt><br>
<tt>*       -fstype=nfs4,sec=krb5p host.hunter.org:/srv/nfs/home/&</tt><br>
<tt><b>local   -fstype=nfs4,sec=sys host.hunter.org:/srv/nfs/home/local</b></tt><br>
<br>
<tt>maps not connected to /etc/auto.master:</tt><br>
<tt>[<a href="mailto:root@host">root@host</a> ~]# </tt><br>
<br>
The only thing that would be better is if "local" did not auto-mount at all.<br>
<br>
</div>
</div>
</span>
</body>
</html>