Re: Setting env. var and keeping it when logging in?

From: Olivier Gautherot (olivier_at_gautherot.net)
Date: 09/15/04

  • Next message: Marcus Vinicius Ferreira: "(no subject)"
    Date: Wed, 15 Sep 2004 05:17:32 +0200
    To: robg <robg.list@gmail.com>
    
    

    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
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Marcus Vinicius Ferreira: "(no subject)"