From owner-freebsd-questions Tue Apr 1 06:53:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA04951 for questions-outgoing; Tue, 1 Apr 1997 06:53:19 -0800 (PST) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA04946 for ; Tue, 1 Apr 1997 06:53:15 -0800 (PST) Received: by mail.EUnet.hu, id QAA05417; Tue, 1 Apr 1997 16:53:11 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id OAA01587 for freebsd-questions@freebsd.org; Tue, 1 Apr 1997 14:07:15 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199704011207.OAA01587@CoDe.hu> Subject: Re: User ID storage in 2.2R To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Tue, 1 Apr 1997 14:07:14 +0200 (MET DST) In-Reply-To: from Dan Busarow at "Mar 30, 97 08:37:48 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > On Sat, 29 Mar 1997, Stan Brown wrote: > > Even if I put the appropriate lines in /etc/passwd *and* > > /etc/master.passwd, they don't seem to be effective. The only way that I > > have been able to make this work is by using adduser. > > If you *really* want to add users with vi, use vipw. man vipw set your EDITOR variable to your favourite editor, and use it with vipw sh/ksh/bash/pdksh/...: EDITOR=your_editor ; export EDITOR (well, this is the original form, but on FreeBSD, you can use the export EDITOR=your_editor form, too) csh/tcsh/...: setenv EDITOR your_editor That's it. Gabor