Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 1997 14:07:14 +0200 (MET DST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Subject:   Re: User ID storage in 2.2R
Message-ID:  <199704011207.OAA01587@CoDe.hu>
In-Reply-To: <Pine.UW2.3.95.970330083457.796B-100000@cedb> from Dan Busarow at "Mar 30, 97 08:37:48 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704011207.OAA01587>