-
-
Notifications
You must be signed in to change notification settings - Fork 3
uenv.1
uenv - run a program with environment modified according to files in $HOME/.defaultqueue
uenv [-c] child
uenv sets various environment variables as specified by files in the directory $HOME/.defaultqueue and then runs child with the modified environment variables. Specifying -c option clears all existing environment variables except $HOME. It works exactly like envdir(8), except that it uses the fixed directory $HOME/.defaultqueue for setting new environment variables.
child consists of one or more arguments.
You can skip $HOME/.defaultqueue by setting SKIP_LOCAL_ENVIRONMENT environment variable. It then sets environment variable specified by files in /etc/indimail/control/defaultqueue. if QUEUE_BASE environment variable is set, setting of environment variables from /etc/indimail/control/defaultqueue is skipped.
Run uenv as root to display local environment variables set for the user user with home directory /home/user. The same output can be obtained by using 'qmail-showctl -E' command.
# setuidgid user env HOME=/home/user uenv -c env
Run uenv to display local environment variables for current user.
$ uenv env