Unable to set path in /etc/profile

Magnus Therning magnus at therning.org
Sun Jul 24 10:35:34 UTC 2005

On Sat, Jul 23, 2005 at 07:54:14PM +0100, Lee Braiden wrote:
>On Saturday 23 July 2005 19:40, Irene Zimmermann wrote:
>> Appended the following as a root user:
>> JDK_HOME=/usr/java/jdk
>> PATH=${JDK_HOME}/bin:${JRE_HOME}/bin:${PATH}
>> export PATH
>> echo $PATH returns the original path after reboot.
>> Help please.
>I think you need to set the path in /etc/security/pam_env.conf

Would it not be better to place that sort of thing in /etc/environment ?

It just sounds wrong to mix in Java environment variables in something
named pam_env.conf.


Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

I have steadily endeavored to keep my mind free, so as to give up any
hypothesis, however much beloved -- and I cannot resist forming one
on every subject -- as soon as facts are shown to be opposed to it.
     -- Charles Darwin (1809-1882)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050724/f055cca6/attachment.pgp>

More information about the ubuntu-users mailing list