Unable to set path in /etc/profile

Lee Braiden lee_b at digitalunleashed.com
Sat Jul 23 18:54:14 UTC 2005


On Saturday 23 July 2005 19:40, Irene Zimmermann wrote:
> Appended the following as a root user:
>
> JDK_HOME=/usr/java/jdk
> JRE_HOME=${JDK_HOME}/jre
> JAVA_HOME=${JRE_HOME}
> export JDK_HOME JRE_HOME JAVA_HOME
> 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

-- 
Lee Braiden
http://www.DigitalUnleashed.com
-------------- 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/20050723/8cbfc76a/attachment.pgp>


More information about the ubuntu-users mailing list