Mirko K. wrote:
> Thomas 'PointedEars' Lahn wrote:
>> Mirko K. wrote:
>> ^^^^^^^^
>> Who?
>
> Mirko Kah (or Kay as the English speakers say it) :-)
Oh, you are so funny. NOT.
> Please don't play this game with me. I know your (and
> Zuckerberg/Schmidt's) argument regarding this, and I don't agree. Aside
> from that, I'll tell you my name, if you show me a notarially certified
> copy of your ID card. :-)
I have not the faintest idea who Zuckerberg and Schmidt are (unless you are
talking about Mark Zuckerberg and Eric Schmidt, but then I would have never
heard about their argument and I could not care less), but rest assured that
a "f*ck-off" reply to requests for *basic politeness* like this will quickly
land you in Usenet¹ in many score-/killfiles where you do actually not want
to be in. Mine included.
_____
¹ Do you know where you are posting to?
>>>
thabi...@gmail.com wrote:
>>>> On Thursday, April 6, 2006 9:48:37 PM UTC+2,
yih...@gmail.com wrote:
>>>>> I am using Linux and I normally setup the PATH environment variables
>>>>> through .bash_profile for one specific user. If I want to set up some
>>>>> path for all user, how to do it?
>>>>>
>>>>> For example, I want to set JAVA_HOME for all user, so each of them do
>>>>> not have to setup in their own .bash_profile file under their home
>>>>> dir. Is there a way to do this?
>>>>
>>>> i also have the same problem i want setup the path environment
>>>> variables for all users if there is anyone who can help please help us
>>>
>>> /etc/profile
>>
>> But, as can be read in the bash(1) manpage, /etc/profile will only be
>> sourced "When bash is invoked as an interactive login shell, or as a non-
>> interactive shell with the --login option".
>
> Yes, and? So is ~/.bash_profile. Where would you put it?
Exactly there, but for *all* (bash) users, as per the OP's requirement,
I would also source /etc/profile in /etc/bash.bashrc if the shell is
interactive, so that it also applies to interactive *non-login* shells.
As several Linux distributions do by default. RTFM.