Re: setting global environmental variables



On 2006-03-31, Laurenz Albe <invite@xxxxxxxxxxxxxxx> wrote:
Bill Marcum <bmarcum@xxxxxxxxx> wrote:
I'm trying to set an environmental variable for all the users. For
users with a shell I added a little line in /etc/bashrc. However for
users without a shell this doesn't work (I'm thinking the apache user
as well as the ftp and mail users). Is there someway to set an
environmental variable for all of these users with a shell of
/bin/false.

Do you have an /etc/profile on your system. That should do it.

....Edwin
--
_______________________________________________________
"Once you have flown, you will walk the earth with your
eyes turned skyward, for there you have been, there you
long to return."-- da Vinci ... www.shreve.net/~elj
.



Relevant Pages

  • Re: apache exploit?
    ... > shell for Apache to ease logging in as apache and changing things while ... a valid shell on the apache user for any longer than the duration of the ... And don't install any unnecessary packages or services, ... > Take out the disk and run chkrootkit on another machine with the disk ...
    (comp.os.linux.security)
  • Re: any reason for a valid shell for httpd user?
    ... > Michael Fleming wrote: ... > There is is no need for the apache user to have a shell. ... Yeah, I went through and did that for every system user, and everything ...
    (comp.os.linux.security)
  • Re: Zero Geodesic Deviation
    ... >the expansion of the earth, then we have a problem according to ... >of matter of thickness dr at a radius r < R. The outward acceleration ... >of a particle in this shell is of magnitude less than that at the ... us to view motion as velocity, and acceleration as ...
    (sci.physics.relativity)
  • Re: Gravity-
    ... i.e. the point mass m is within the shell. ... Given an earth with a spherically symmetric mass distribution, ... objects or aforementioned rings as per law of gravity? ...
    (sci.physics)
  • Re: Gravity-
    ... i.e. the point mass m is within the shell. ... Given an earth with a spherically symmetric mass distribution, ... the vector gravity forces cancel each ...
    (sci.physics)