Creating User environment variables.

2003-06-01 Thread dlangschied
Hi! I am use to the HP-UX world where you can create a user specific environemtn by modifying the .profile. How do you do the same in Linux? Sincerely, David Langschied Langschied Consulting Services 25644 Mackinac Roseville, MI 48066 Phone: (586)777-7542 Cell: (248)789-8493 e-mail:

Re: Creating User environment variables.

2003-06-01 Thread Karim Nowruzi
On Sat, 2003-05-31 at 20:32, dlangschied wrote: Hi! I am use to the HP-UX world where you can create a user specific environemtn by modifying the .profile. How do you do the same in Linux? Sincerely, David Langschied Langschied Consulting Services 25644 Mackinac Roseville, MI 48066

Re: Creating User environment variables.

2003-06-01 Thread dlangschied
I think you are misunderstanding me. I have a number of environment variables that I want to pass onto the user at login. I should be able to do so by modifying a file (like .profile) that is launched when the user logs in. I tried to vi /bin/bash and it was not possible. THerefore, I am

Re: Creating User environment variables.

2003-06-01 Thread Panos Platon Tsapralis
Hi David, The name of the file is '.bash_profile' in Linux 'bash' shell. It is located in the home directory of the user account. HTH, dlangschied wrote: I think you are misunderstanding me. I have a number of environment variables that I want to pass onto the user at login. I should be able

Re: Creating User environment variables.

2003-06-01 Thread Gordon Messmer
dlangschied wrote: I think you are misunderstanding me. I have a number of environment variables that I want to pass onto the user at login. I should be able to do so by modifying a file (like .profile) that is launched when the user logs in. I tried to vi /bin/bash and it was not possible

Re: Creating User environment variables.

2003-06-01 Thread Brian Ashe
dlangschied, On Saturday May 31, 2003 12:54, dlangschied wrote: I think you are misunderstanding me. I have a number of environment variables that I want to pass onto the user at login. I should be able to do so by modifying a file (like .profile) that is launched when the user logs in. I

RE: Creating User environment variables.

2003-06-01 Thread Alexander Spanke
Of dlangschied Sent: Saturday, May 31, 2003 6:02 PM To: [EMAIL PROTECTED] Subject: Creating User environment variables. Hi! I am use to the HP-UX world where you can create a user specific environemtn by modifying the .profile. How do you do the same in Linux? Sincerely, David Langschied Langschied

Re: Creating User environment variables.

2003-06-01 Thread dlangschied
PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:54 PM Subject: RE: Creating User environment variables. Hi, The same procedure :) You can use the /etc/profile for system wide configurations, or the .profile || .bash_profile if using the bash as login shell to set up the user

Re: Creating User environment variables.

2003-06-01 Thread Jon Haugsand
* [EMAIL PROTECTED] Thanks to everone for their information! I appreciate it! However, the information does not seem to be all together correct. Whenever you start a new bourne shell (sh, bash, ksh, ...), the following files are read: /etc/profile /etc/profile.d/*.sh ${HOME}/.bashrc

environment variables for specific groups?

2003-03-23 Thread Alejandro Calbazana
Hello, I am setting up CVS and would like to have a set of environment variables set and exported for a given group (my cvs group). I know that putting variables in /etc/profile will make vars. available globally, and I know that using id -G will tell me what groups a user belongs to. Thinking

Setting temporary environment variables from a script, probablenewbie question

2003-01-10 Thread Peter Davie
Hi, I'm having a problem with setting environment variables that are only supposed to exist in that terminal session. The script is shown below. echo Setting LENZ Development environment variables. echo echo Please Note: the CLASSPATH variable is altered for the duration

Re: Setting temporary environment variables from a script, probablenewbie question

2003-01-10 Thread Robert P. J. Day
On 10 Jan 2003, Peter Davie wrote: Hi, I'm having a problem with setting environment variables that are only supposed to exist in that terminal session. The script is shown below. any changes you make in a shell script that you run *normally* are not reflected in your current shell, as shell

Re: Setting temporary environment variables from a script,probable newbie question

2003-01-10 Thread Peter Davie
on this one. Thanks again, Peter Message: 7 Date: Fri, 10 Jan 2003 07:08:05 -0500 (EST) From: Robert P. J. Day [EMAIL PROTECTED] To: RedHat Mailing List [EMAIL PROTECTED] Subject: Re: Setting temporary environment variables from a script, probable newbie question Reply-To: [EMAIL PROTECTED

Re: Setting temporary environment variables from a script, probableBnewbie question

2003-01-10 Thread Robert P. J. Day
On 10 Jan 2003, Peter Davie wrote: Hi Robert, Thanks for taking the trouble to reply. I got the reason- it is pretty much what I suspected. However, I am not clear on your reply. Is there a command line utility you are referring to, or a shell syntax (I'm using bash) that I should use to

Re: Setting temporary environment variables from a script, probableBnewbie question

2003-01-10 Thread Todd A. Jacobs
On Fri, 10 Jan 2003, Robert P. J. Day wrote: as i mentioned, you need to execute the script with the . command. yes, the . really is a shell command -- it means execute this script in the current shell. Actually, . is a builtin alias for source. It's easier to explain this to people if you

Re: Setting temporary environment variables from a script, probableB newbie question

2003-01-10 Thread Cameron Simpson
On 13:19 10 Jan 2003, Todd A. Jacobs [EMAIL PROTECTED] wrote: | On Fri, 10 Jan 2003, Robert P. J. Day wrote: | as i mentioned, you need to execute the script with the . command. | yes, the . really is a shell command -- it means execute this script in | the current shell. | | Actually, . is

Environment variables

1998-06-17 Thread J. Carlos Cristobal
Hello!: Just a curious question, where do I read about the Environment variables for RH? I've read some instructions which tell me to change or add them but I just don't know anything about this, For example, when I call edquota it says it will call "vi" or the editor is defi