From owner-freebsd-questions Thu May 14 04:04:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02573 for freebsd-questions-outgoing; Thu, 14 May 1998 04:04:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp01.primenet.com (daemon@smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA02561 for ; Thu, 14 May 1998 04:04:26 -0700 (PDT) (envelope-from bkogawa@primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id EAA24535; Thu, 14 May 1998 04:04:16 -0700 (MST) Received: from ip192.sjc.primenet.com(206.165.96.192), claiming to be "foo.primenet.com" via SMTP by smtp01.primenet.com, id smtpd024519; Thu May 14 04:04:14 1998 Received: (from bkogawa@localhost) by foo.primenet.com (8.8.8/8.8.6) id EAA02243; Thu, 14 May 1998 04:04:44 -0700 (PDT) Date: Thu, 14 May 1998 04:04:44 -0700 (PDT) Message-Id: <199805141104.EAA02243@foo.primenet.com> To: dima@zwb.net Subject: Re: renaming of usernames and homedirectories Newsgroups: localhost.freebsd.questions References: <8951348360297150000> <199805140208.WAA23438@nwalme.pair.com> From: "Bryan K. Ogawa" Cc: freebsd-questions@FreeBSD.ORG, djv@bedford.net X-Newsreader: NN version 6.5.0 #1 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In localhost.freebsd.questions you write: >much different interface. The master.passwd file format is the same as >AT7T UNIX Version 1, so I can login as root to any UNIX system, and be >familiar with the file. Using vipw, which I haven't heard of until today, >it would probably be alot different from System V, OpenBSD, Solaris, ... Running vipw is basically the same as running (in csh) umask 022 cp /etc/master.passwd /etc/magic-temporary-name $EDITOR /etc/magic-temporary-name pwd_mkdb /etc/magic-temporary-name So, I don't think that it would look different to you. You edit the same way (and if you don't like vi, just change $EDITOR and use jed or emacs) , but you don't have to run pwd_mkdb, and those irritating races are all locked out, and if you abort, it doesn't run pwd_mkdb. Really, vipw is a good thing. -- bryan k ogawa http://www.primenet.com/~bkogawa/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message