Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 05:17:32 +0200
From:      Olivier Gautherot <olivier@gautherot.net>
To:        robg <robg.list@gmail.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Setting env. var and keeping it when logging in?
Message-ID:  <4147B44C.3030106@gautherot.net>
In-Reply-To: <5c389d3b04091418337c4b7afd@mail.gmail.com>
References:  <5c389d3b04091418337c4b7afd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Rob!

robg wrote:

>hi,
>
>id like 
>
>PURE_PASSWDFILE=/usr/local/etc/pureftpd.passwd
>PURE_DBFILE=/usr/local/etc/pureftpd.pdb
>
>i did: 
>
>setenv PURE_PASSWDFILE /usr/local/etc/pureftpd.passwd
>setenv PURE_DBFILE /usr/local/etc/pureftpd.pdb
>
>but when i relogin, they dissapear from `printenv`.. how do i keep it?
>
>thanks
>  
>

Just a dumb question: did you insert these lines in your .cshrc
or .tcshrc? (assuming you use csh or tcsh as your login shell).
Your environment disappears when you log out (that's normal
behavior)

Cheers
    Olivier



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