From owner-freebsd-questions@FreeBSD.ORG Fri Oct 27 12:32:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8528B16A403 for ; Fri, 27 Oct 2006 12:32:41 +0000 (UTC) (envelope-from nicklas@dinpris.no) Received: from dp-mail-01.dinpris.com (dp-mail-01.dinpris.com [62.73.247.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7593E43D70 for ; Fri, 27 Oct 2006 12:32:39 +0000 (GMT) (envelope-from nicklas@dinpris.no) Received: (qmail 34480 invoked by uid 1004); 27 Oct 2006 12:32:42 -0000 Received: from 62.73.247.155 (nicklas@dinpris.no@62.73.247.155) by dp-mail-01.dinpris.com (envelope-from , uid 98) with qmail-scanner-2.01 (clamdscan: 0.88.4/1674. spamassassin: 3.1.4. Clear:RC:1(62.73.247.155):. Processed in 0.041308 secs); 27 Oct 2006 12:32:42 -0000 Received: from v4078.skn-sw2.dinpris.com (HELO ?127.0.0.1?) (nicklas@dinpris.no@62.73.247.155) by dp-mail-01.dinpris.com with SMTP; 27 Oct 2006 12:32:42 -0000 Message-ID: <4541FC58.7070508@dinpris.no> Date: Fri, 27 Oct 2006 14:32:24 +0200 From: "Nicklas B. Westerlund" User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Ansar Mohammed References: <000001c6f9c2$2a796bd0$0405a8c0@northamerica.corp.microsoft.com> In-Reply-To: <000001c6f9c2$2a796bd0$0405a8c0@northamerica.corp.microsoft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Auto Create home directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 12:32:41 -0000 Ansar Mohammed skrev: > Hello, > Mohammed, > I have a network based on FreeBSD and I have a centralized ldap server > running OpenLDAP. I am using ldapeditor (http://www.ldapeditor.com > ) to manage the accounts. However, ldapeditor > is a Windows program and it does not have a way to auto create user home > directories. How can I auto create home directories? You might want to take a look at pam_mkhomedir (security/pam_mkhomedir in ports) Regards, Nick. --- This is a PAM module which will create the $HOME for the user authenticated, if it's not already there. It also copies over files from a skel directory ( default /usr/share/skel ) and can set the permission of the newly created $HOME to a value of your choice ---