Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 01:12:00 -0700
From:      Adam Weinberger <adam@vectors.cx>
To:        Grant Cooper <grant.cooper@nucleus.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: password file
Message-ID:  <20020708081200.GA83464@vectors.cx>
In-Reply-To: <006d01c225f1$dcbb3e80$d74afea9@ab.hsia.telus.net>
References:  <CGEIKJFNGMJHCMFBJGJFMEBNCBAA.sagacious@unixhideout.com> <015501c2263b$8e38faa0$0200000a@mdrjrathgot32h> <006d01c225f1$dcbb3e80$d74afea9@ab.hsia.telus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
no, he means setting the environment variable. if you're using the
bash shell, execute the command:

export EDITOR=vi

then, that will be your default text editor.

if you're using a cshell, the command is:

setenv EDITOR vi

-Adam


>> (07.07.2002 @ 1307 PST): Grant Cooper said, in 1.9K: <<
> Is there a way to change the default editor. Vi comes up alot. I really like
> using ee <filename>.
> 
> 
> > Or you can use the vipw command.
> >
> > before use vipw be sure that you setted the $EDITOR env. var to your
> editor.
> >
> 
> for example, env.var file? I did a whereis env.var and can't find it?
> 
> ----- Original Message -----
> From: "Mauro" <mdrjr@mdrjr.net>
> To: <freebsd-questions@FreeBSD.ORG>
> Sent: Sunday, July 07, 2002 10:54 PM
> Subject: Re: password file
> 
> 
> > Or you can use the vipw command.
> >
> > before use vipw be sure that you setted the $EDITOR env. var to your
> editor.
> >
> >
> > Mauro Dias
> > ----- Original Message -----
> > From: "sagacious" <sagacious@unixhideout.com>
> > To: <freebsd-questions@FreeBSD.ORG>
> > Sent: Monday, July 08, 2002 1:44 AM
> > Subject: RE: password file
> >
> >
> > >
> > >
> > > You have to edit master.passwd and then remake the databases.
> > >
> > >
> > > pwd_mkdb -p /etc/master.passwd
> > >
> > > -----Original Message-----
> > > From: owner-freebsd-questions@FreeBSD.ORG
> > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Grant Cooper
> > > Sent: Sunday, July 07, 2002 12:42 PM
> > > Cc: questions@FreeBSD.ORG
> > > Subject: password file
> > >
> > >
> > > I am trying to change the directory of my ftp location for Anonymous
> ftp.
> > I
> > > went into the "master.passwd" file and changed the ftp section to
> > > "ftp:*:14:5::0:0:ftp FTP:/aftp:/nonexistent" Should this not change the
> > > directory of where my I ftp to?
> > >
> > >
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
>> end of "Re: password file" from Grant Cooper <<


--
"Oh good, my dog found the chainsaw."
        -Lilo
Adam Weinberger
adam@vectors.cx
http://www.crackula.com


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?20020708081200.GA83464>