Date: Fri, 25 Jan 2013 08:36:58 +0100 From: Polytropon <freebsd@edvax.de> To: Ralf Mardorf <ralf.mardorf@rocketmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-ID: <20130125083658.446cb519.freebsd@edvax.de> In-Reply-To: <1359096690.2155.29.camel@precise> References: <1358988080.4855.5.camel@precise> <op.wreshnxpqhadp0@freebsd> <5101B141.2090909@gmail.com> <1359076287.2155.18.camel@precise> <20130125100612.71a9630c@X220.ovitrap.com> <1359096690.2155.29.camel@precise>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jan 2013 07:51:30 +0100, Ralf Mardorf wrote: > 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. ... That won't make any difference. :-) If your $EDITOR points to mcedit, _that_ editor will be used; afterwards pwd_mkdb will be called and the binary database files will be updated - and your changes will be fine. > 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? Yes, because vipw can be seen as a chain "editor -> validate -> update database", involving the "lower level" programs that you can call yourself any time. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130125083658.446cb519.freebsd>