From owner-freebsd-isp@FreeBSD.ORG Sat Feb 28 11:53:02 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4FF416A4DA for ; Sat, 28 Feb 2004 11:53:02 -0800 (PST) Received: from mail9.txucom.net (mail9.txucom.net [207.70.175.251]) by mx1.FreeBSD.org (Postfix) with SMTP id 441B543D2D for ; Sat, 28 Feb 2004 11:53:02 -0800 (PST) (envelope-from bob@buckhorn.net) Received: (qmail 23220 invoked from network); 28 Feb 2004 19:53:01 -0000 Received: from lfkn-adsl-dhcp-net1-197.txucom.net (HELO tardis.buckhorn.net) ([207.70.145.197]) (envelope-sender ) by mail9.txucom.net (qmail-ldap-1.03) with SMTP for ; 28 Feb 2004 19:53:01 -0000 Received: from buckhorn.net (localhost.buckhorn.net [127.0.0.1]) by tardis.buckhorn.net (Postfix) with ESMTP id F13E01B8F85; Sat, 28 Feb 2004 13:53:12 -0600 (CST) Message-ID: <4040F1A8.1070108@buckhorn.net> Date: Sat, 28 Feb 2004 13:53:12 -0600 From: Bob Martin User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Scott St. John" References: <20040228191105.M42305@scottah.com> In-Reply-To: <20040228191105.M42305@scottah.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org Subject: Re: Final conversion questions X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 19:53:02 -0000 Scott, I haven't followed this thread closely enough, but from what you're saying, it sounds like you have a NFS connection between the 2 boxen. That being the case, and since the UID/GID's are the same on both boxen (IIRC you moved the Linux accounts to the BSD box), the following command will get all of the files, and maintain the permissions: cp -pRP / Thanks to help from this list I am proud to say that tonight I will be > moving our mail server from Linux/Sendmail to FreeBSD/Postfix! The user > passwd file has been converted and we are ready to rock, but I have a few > questions before I begin tonight. > > I plan to copy the users home directories over, does anyone have a script > that will go through the home directories and correctly set the ownership of > the directories once they are copied over? Example, user Fred has a home > dir on the old machine, I copy over the files to the BSD box, I need to > chown -R fred:users to his home directory. I could do it by hand, but I am > sure there has to be a script out there to do something similar? > > Second question, I want to make sure ALL files are copied over from the home > directories and I think I have the syntax wrong to get the files, I want > the .procmailrc files to transfer over. > > Thanks in advance! > > -Scott > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"