Thank you Kevin, thank you Erich,

On Thu, 2013-01-24 at 21:10 -0500, kpn...@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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to