[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: basics about env variables



On Sun, Dec 29, 2002 at 11:16:28AM -0500, David Z Maze wrote:
> Robert.Land@t-online.de (Robert Land) writes:
> 
> > The slrnpull program provides the option to
> > use the env variable NNTPSERVER instead of
> > passing the newsserver by argument.
> >
> > As being not that experienced in unix I had
> > a look at the rcS script to look how this
> > might be done. 
> 
> As in, the very first script that gets run when the system is booted?
> That's way too early; in particular, the login process will completely
> wipe your environment.  You probably want to put this:
> 
> > NNTPSERVER=news.btx.dtag.de
> > export NNTPSERVER
> 
> in your shell's dotfiles, probably .bashrc.  ('man bash' and look
> under INVOCATION to see what files get read when.)

For what I wanted /etc/profile was the appropiate one.
Unfortunatly I had overseen the ConfigHOWTO which is
included in the deb HOWTO package.

Many thanks to all these helpful people on the list.


Robert



Reply to: