Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Albert" <kinace@hotmail.com>
Subject: Quest: how to set global environment variables?
Date: Wed, 12 Feb 2003 18:51:34 +0800	[thread overview]
Message-ID: <1045047297.37541@sky.aect.cuhk.edu.hk> (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






             reply	other threads:[~2003-02-12 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 10:51 Albert [this message]
2003-02-13  5:56 ` Quest: how to set global environment variables? Joe Chung
2003-02-13  9:40 ` TyBreaker
read-only archive

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