Date: Fri, 25 Jan 2013 07:51:30 +0100 From: Ralf Mardorf <ralf.mardorf@rocketmail.com> To: freebsd-questions@freebsd.org Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-ID: <1359096690.2155.29.camel@precise> In-Reply-To: <20130125100612.71a9630c@X220.ovitrap.com> References: <1358988080.4855.5.camel@precise> <op.wreshnxpqhadp0@freebsd> <5101B141.2090909@gmail.com> <1359076287.2155.18.camel@precise> <20130125100612.71a9630c@X220.ovitrap.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359096690.2155.29.camel>