You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Giorgio Ponza <gi...@opla.it> on 2002/09/09 12:51:05 UTC

[OT] Linux environment variables

Hi guys.
Sorry, i'm not expert in linux
I need that some environment variables (like JAVA_HOME) are visible to a
specified user
Until today i worked with root, so i placed them in /etc/profile.
I'd like now them are visible only for the specified user (also the
installation is done by the user).
Is there a file for the user where i can place them?

Sorry my english and my poor linux knowledge

Giorgio


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [OT] Linux environment variables

Posted by Ignacio Cárdenas <ia...@eresmas.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

> Hi guys.
> Sorry, i'm not expert in linux
> I need that some environment variables (like JAVA_HOME) are visible to a
> specified user
> Until today i worked with root, so i placed them in /etc/profile.
> I'd like now them are visible only for the specified user (also the
> installation is done by the user).
> Is there a file for the user where i can place them?

Yes!!

Your file is $HOME/.bash_profile. For example, /home/ignacio/.bash_profile.

And wellcome to Linux!!! :-D

> Sorry my english and my poor linux knowledge

I think my english is worst...

> Giorgio

Regards,
Ignacio.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9fPEzkC21d1l2YQURAkvkAKCW6lIZ+Sw2xHet+0if3DbjdIP6vQCeP1Os
YJfjOiE/KKYwusdjA6rdg1s=
=hqFh
-----END PGP SIGNATURE-----


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>