From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 06:51:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ADDBA6B8 for ; Fri, 25 Jan 2013 06:51:32 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm9.bullet.mail.ird.yahoo.com (nm9.bullet.mail.ird.yahoo.com [77.238.189.35]) by mx1.freebsd.org (Postfix) with SMTP id D977712A for ; Fri, 25 Jan 2013 06:51:31 +0000 (UTC) Received: from [212.82.105.244] by nm9.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 06:51:30 -0000 Received: from [46.228.39.45] by tm16.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 06:51:30 -0000 Received: from [127.0.0.1] by smtp178.mail.ir2.yahoo.com with NNFMP; 25 Jan 2013 06:51:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1359096690; bh=pbrHZJUtLFsDI+dl1ihN9R2PWlQRUiYMOCuwn05qm9E=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=5I441aIBOHtIW7gLeJuXB+sSz5k1CAY4xjGs9a/3KDoaB7E8QADT5AMTXQ/pzOvKPMlWdDO863LWZBwd4kB6GbknZkKDUd2NqhIemAl9cfa3CS/kO735RZHWK+ydpcJyxGsRRe7/3aTE6AnYZWurjlR2Um6zBLd2UVGU2tUepTQ= X-Yahoo-Newman-Id: 694849.72084.bm@smtp178.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XakQqiMVM1lyEAGB1OdyE2PUgETYxPrnLj2IyubAd.4ucgn HMnNNPjvVp4jSd3U.fs1MQ.i_EEHU.5dAGLq2GgtBug3ZlGI8ByU9KuzFPJx c4GYaD8K7ZWwDfRtE7xVVqBK6iYoFD65cWMzpzGAiV8hfaFbef3.7_Mdk2DT 49eJ6lK3Jm9.TzN72Bn1JZTvCTLvovhogVec.x.yrSkAZl7MqP6OjTbeBKRn EXs2dZB_ptnga9YDb3HQfKBXp.Pp7u9LOTIAdNtx653tl36DneY53t3ObXXg z0AML3H58ScW0I5GHSru66CHIOVgMtHXov9hxmL.gn5FrXNFK6HxqBndoHjR qubroV9YZMVNkSJHpTERt0yHGzwD6aIoy9qEtvt8KNcltRAZ1pX7.2VEVlRN iNjoxpEqkCiLlyTWA0BXkw7meprtUcGAd51OpdZOUJZZsJfbjLRIQN4wmSP4 NNd0ucy8U3_VbbM0Im_qp_gOzmeUlpMf831ckO9vdo6lfeyR53VaqKKxLFYp imeo1_hGlfeeGupYhh6FoSkk- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.224.210.252] (ralf.mardorf@92.224.210.252 with login) by smtp178.mail.ir2.yahoo.com with SMTP; 25 Jan 2013 06:51:30 +0000 UTC Message-ID: <1359096690.2155.29.camel@precise> Subject: Re: Sharing a mail folder between Linux and FreeBSD From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Fri, 25 Jan 2013 07:51:30 +0100 In-Reply-To: <20130125100612.71a9630c@X220.ovitrap.com> References: <1358988080.4855.5.camel@precise> <5101B141.2090909@gmail.com> <1359076287.2155.18.camel@precise> <20130125100612.71a9630c@X220.ovitrap.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 06:51:32 -0000 Thank you Kevin, thank you Erich, On Thu, 2013-01-24 at 21:10 -0500, kpneal@pobox.com wrote: > The correct way to edit the password file is with the "vipw" > command. When you are done with your changes it rewrites the password > file AND rebuilds the password database. > > I'm guessing you have a stale password database now. Use 'vipw' to > make a trivial change and then save and exit out. Ok, I used mcedit to make the changes before and will try vipw now, resp. ... On Fri, 2013-01-25 at 10:06 +0700, Erich Dollansky wrote: > did you run something like? > > /usr/sbin/pwd_mkdb -d/etc /etc/master.passwd No, I didn't. I assume this is what vipw will do, so I can run this instead of using vipw? "Once the information has been verified, vipw uses pwd_mkdb(8) to update the user database. This is run in the background, and, at very large sites could take severa minutes. Until this update is completed, the password file is unavailable for other updates and the new information is not available to programs." - http://www.freebsd.org/cgi/man.cgi?query=vipw&sektion=8 Regards, Ralf