Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Quest: how to set global environment variables?
@ 2003-02-12 10:51 Albert
  2003-02-13  5:56 ` Joe Chung
  2003-02-13  9:40 ` TyBreaker
  0 siblings, 2 replies; 3+ messages in thread
From: Albert @ 2003-02-12 10:51 UTC (permalink / raw)


Dear all,

Would like to set a global environment variable for a daemon process. Daemon
process is placed in /usr/sbin, owned by root:system.
    -- What should the right way to do so?
    -- Which file should keep those "export" statement?

A simple script with export statement, named "S999TEST" are placed in
/sbin/rc2.d and /sbin/rc3.d. But, after system is rebooted,  still not make
any affect.

S999TEST:
--------------------------------------------------
TEST_ENV_003=AlbertoErica003
export TEST_ENV_003
--------------------------------------------------

Best Regards,
A. John






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-13  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-12 10:51 Quest: how to set global environment variables? Albert
2003-02-13  5:56 ` Joe Chung
2003-02-13  9:40 ` TyBreaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox