Re: Process Understanding

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

 



On 05Feb2007 11:07, Dan Track <dan.track@xxxxxxxxx> wrote:
| >However, a web server startup is not a login shell. The web server is
| >simply invoked, typically from an init script. The login shell of the
| >user is not involved at all.
| 
| Thanks for the reply. If the web server user does not have a login
| shell then where does the daemon get its environment variables from?

It will have next to nothing. A "stock" install of apache will usually
start from the script /etc/init.d/httpd on Fedora systems. You could
edit that file and insert this command:

  env | sort

which will dump the current environment when the script runs. That will
be illuminating during boot. If you start things from a root login shell,
it will start with root's environment (and that will come via root's
login shell startup).

It is also possible to configure environment values inside Apache's
config files as I recall.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Remember: Politicians just want to be your friend if you give them half a
          chance...
          and shove them into a corner...
          hard.
        - Peter Harper <bo165@xxxxxxxxxxxxxxxxxxx> <harperp@xxxxxxxxxxxxxxxx>

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux