setting global environmental variables



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. I'd like to avoid having to put the extra lines into the
startup scripts for these applications.

.



Relevant Pages

  • Re: Sigh! Im depressed. Debian vs Ruby and the backtick and subshells
    ... There's always a way to avoid a shell command... ... The backtick syntax is a convenience inherited from Bash and Perl. ...
    (comp.lang.ruby)
  • Re: windows / unix path
    ... shell that splits up the command line into arguments, ... So you need to avoid any kind of ... Well, you actually said the same thing as Dennis here, in a slightly ... using command lines, just as Dennis said. ...
    (comp.lang.python)
  • Re: Alternatives to system() function in a C++ application?
    ... > want to avoid the shell, ... > Seattle, WA, USA ... Is it a good practice to use shell in a large application, ... But why it got lost right after stepping through systemcalls? ...
    (comp.os.linux.development.apps)
  • Re: Can bash do this?
    ... > I'm switching some simple stuff from perl to bash to avoid the perl wars here ... to perl as my login shell to avoid the shell wars here at... ...
    (comp.unix.shell)
  • Re: problem using unix gzcat with perl filehandle
    ... On recent Perl you can avoid the need for your command to be parsed: ... This is more elegant and also does not get confused by shell meta- ...
    (perl.beginners)