Re: HOWTO set Environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank's to all.

... but there is a more complex implementation.
Visiblity of these are limited to a session of these user, becouse
.bash_profile are loaded only when user make login.

If that user must know that env vars when are not logged too, where I
must intervene ?

With my english and my know-how of linux is difficult explain to me ...

The user USR are owner of a technology CGI.
This user cannot start service httpd.
Apache must know that env vars.
I make login with generic user PIPPO; automatically start httpd
service and with browser I connect at cgi module of user USR.
Where I must set TEMP env ?
When start httpd, apache not found TEMP, because user USR are not set
var TEMP and because this var are visible only for USR.

I hope that are understandable.
Many thank's in advantage.

bye by fellons

On Wed, 13 Oct 2004 17:17:59 -0500, Jeff Vian <jvian10@xxxxxxxxxxx> wrote:
> On Wed, 2004-10-13 at 01:46, fellons wrote:
> > Hi list.
> >
> > Someone can tell me how set an environment variable ?
> >
> > I try to set, on <userhome>/.bash_profile something like
> > TEMP=/tmp
> you can use either of these.
> 
>    export TEMP=/tmp
> 
> or
> 
>    TEMP=/tmp
>    export TEMP
> 
> look in /etc.profile for an example where many different variables are
> set then exported.
> 
> 
> 
> 
> > and after boot watch the result with "set" without param, but on list
> > of vars env there are not my variable.
> > Why ?
> > My method are mistaked ?
> >
> > Thank's to all.
> > bye by fellons
> 
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux