login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2007
»
August
»
9
Re: howto set global environment variable (e.g. PATH, JAVA_HOME)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Darren Spruell
Subject:
Re: howto set global environment variable (e.g. PATH, JAVA_HOME)
Date: Wednesday, August 8, 2007 - 10:03 pm
On 8/8/07, Lars Hansson <romabysen@gmail.com> wrote:
quoted text
> On 8/9/07, Clint Pachl <pachl@ecentryx.com> wrote: > > Or you could programatically change each user's .profile. > > Uhm, why? Markus is correct that both /etc/profile and $HOME/.profile > are sourced when you log in so to set up global variables you set them > in /etc/profile.
~/.profile overrides /etc/profile. $ echo 'var1=a' >> /etc/profile $ echo 'var1=b' >> ~/.profile $ /bin/ksh -l $ echo $var1 b In this case, users' dot files will have be updated. DS
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
howto set global environment variable (e.g. PATH, JAVA_HOME)
, pixotec
, (Wed Aug 8, 6:09 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Will Maier
, (Wed Aug 8, 6:26 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Markus Lude
, (Wed Aug 8, 8:41 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Clint Pachl
, (Wed Aug 8, 1:24 pm)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Lars Hansson
, (Wed Aug 8, 9:38 pm)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Darren Spruell
, (Wed Aug 8, 10:03 pm)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Lars Hansson
, (Wed Aug 8, 10:42 pm)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, J.C. Roberts
, (Thu Aug 9, 2:14 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Clint Pachl
, (Thu Aug 9, 2:33 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Edd Barrett
, (Fri Aug 10, 1:11 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Pierre-Yves Ritschard
, (Fri Aug 10, 1:22 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, Lars Hansson
, (Fri Aug 10, 2:38 am)
Re: howto set global environment variable (e.g. PATH, JAVA ...
, pixotec
, (Sat Aug 11, 2:26 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate