On Friday 22 March 2002 15:33, Kenn Humborg wrote:
> How standard is /etc/environment? What reads it and when?
> Does it apply to bash/csh/zsh etc?
Weeelllll....
/etc/environment is an artefact of a PAM module (pam_env.so) which can
be invoked by anything using PAM (which should cover all the methods
of accessing a system).
The pam_env.so on my Debian box is referenced by the cron, kde, login,
ssh and uucp PAM setups.
It's not used by the shells themselves; they only read their
respective startup scripts.
Colm
--
Colm Buckley : Systems Architect at NewWorldiQ
Personal : colm at tuatha.org | +353 87 2469146 | www.colm.buckley.name
Business : colm at newworldiq.com | +353 1 4334334 | www.newworldiq.com
You are validating my inherent mistrust of strangers.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!