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

Re: Setting environment



On Sat, Oct 27, 2001 at 07:20:07PM +1000, David Fisher wrote:

> This may well be a FA dumb Q but I can't work out how to set up a users'
> path or other local environmentals (such as HTTP_PROXY).  Editing
> .bash_profile does nothing.  Is there a file under ~/.kde I need to edit?
> What part of TFM haven't I Rd?

Put your stuff in /etc/environment, it's parsed by (I think) a PAM module
(and possibly /etc/profile) on login.

Like here:

---------------------------------------------------------------------------
# /etc/environment.
#
# Contains all environment variables necessary also for non-bash
# logins (e.g. xdm/kdm). Parsed by xsession.
#

PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/bin:"
# export PS1="\[\033[7m\h:\[\033[0m\[\033[1m\033[33m\]\w\[\033[0m\]> "
PS1="\[\033[30m\033[47m\]\h\[\033[0m\]:\[\033[33m\]\W\[\033[0m\]> "
HISTCONTROL=ignoredups
WWWOFFLE_PROXY=/etc/wwwoffle.conf
http_proxy=http://134.28.72.5:81/
ftp_proxy=http://134.28.72.5:81/
no_proxy="134.28.:192.168.:pulp:server:.zuhause.de"
NNTPSERVER=server
# export NNTPSERVER=news.tu-harburg.de
PGPPATH=$HOME/.pgp
PATH=$PATH:$HOME/bin
PAGER=less
EDITOR=vim
TAPE=/dev/tape
LESS="-snS"
LANG=de_DE
LC_ALL=de_DE
CVSROOT=/var/cvs
---------------------------------------------------------------------------
 

-- 
Jens Benecke ········ http://www.hitchhikers.de/ - Europas Mitfahrzentrale

Crypto regulations will only hinder criminals who obey the law.



Reply to: