From owner-freebsd-questions@FreeBSD.ORG Fri Jan 16 11:09:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F010410656EB for ; Fri, 16 Jan 2009 11:09:41 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id AA6928FC25 for ; Fri, 16 Jan 2009 11:09:41 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1LNmHq-0002Ru-70>; Fri, 16 Jan 2009 11:50:50 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1LNmHq-0006VM-5q>; Fri, 16 Jan 2009 11:50:50 +0100 Message-ID: <49706606.6060304@zedat.fu-berlin.de> Date: Fri, 16 Jan 2009 10:48:38 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.19 (X11/20090112) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Subject: How to copy only skeleton files while creating a existing user's homes 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, 16 Jan 2009 11:09:42 -0000 Hello, I have the following situation: Users are stored in OpenLDAP. I need to create homes directories on new machine memebers in the pool of workstations and do not want the usage of an automated creation of loggin in user via pam_mkhomedir. Creation should be done manually. My question: is it possible to use a FreeBSD tool/command like 'pw(8)' only for copying and initiating an existant user's home? I tried simply pw useradd USER -m -b /homes/ for that purpose, but pw errors me saying the user USER already exists (is a OpenLDAP user). Thanks in advance, Oliver