Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 1999 14:24:54 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Peter Brezny <peter@shorthair.purplecat.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /etc/passwd
Message-ID:  <Pine.BSF.3.96.990505142312.7628F-100000@cygnus.rush.net>
In-Reply-To: <Pine.BSF.4.05.9905051413250.15334-100000@shorthair.purplecat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 5 May 1999, Peter Brezny wrote:

> why when i make changes to /etc/passwd using pico, things visibly change,
> but changing someone's shell from nologin to bash seems to make no
> functional changes.
> 
> i've been clued into using vipw, however, isn't there a way to edit this
> file functionally using any old text editor?

vipw is just a wrapper for editing the password file, you can
just do this:

export EDITOR="pico -w"

then run vipw.

btw, i _strongly_ encourage you to learn vi, pico just doesn't cut it
and can cause problems when you edit files with strict whitespace
guidlines (like /etc/passwd)

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990505142312.7628F-100000>