RE: [OT] Linux environment variables

2002-09-09 Thread Turner, John


Depends on which shell you are using.  For sh, it would be
USER_HOME/.profile. For bash it would be USER_HOME/.bash_profile (or even
.profile if .bash_profile doesn't exist). tcsh is USER_HOME/.login, I
believe, though I use sh or bash, so I can't be sure.  A search on Google
should help you out.

John


 -Original Message-
 From: Giorgio Ponza [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 6:51 AM
 To: Tomcat Users List
 Subject: [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:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [OT] Linux environment variables

2002-09-09 Thread Ben Souther

.bash_profile in each user's home directory will do it for you.








- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 8:30 AM
Subject: RE: [OT] Linux environment variables



 Depends on which shell you are using.  For sh, it would be
 USER_HOME/.profile. For bash it would be USER_HOME/.bash_profile (or even
 .profile if .bash_profile doesn't exist). tcsh is USER_HOME/.login, I
 believe, though I use sh or bash, so I can't be sure.  A search on Google
 should help you out.

 John


  -Original Message-
  From: Giorgio Ponza [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 09, 2002 6:51 AM
  To: Tomcat Users List
  Subject: [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:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [OT] Linux environment variables

2002-09-09 Thread Ignacio Cárdenas

-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:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]