diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 2007-12-21 21:53:32 +0000 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 2007-12-21 21:53:32 +0000 |
commit | d0293f311d083ea17b9a70458c3acafa71af9dc4 (patch) | |
tree | fafca0153c3122b668a19cd2f65982b29197cad0 /pathnames.h.in | |
parent | d167d1e37b04ec0fd51f49a7293c1fc4ff790a74 (diff) | |
download | sudo-d0293f311d083ea17b9a70458c3acafa71af9dc4.tar.gz |
Add support for reading and /etc/environment file. Still needs to
be documented and should probably only applies to OSes that have
it (AIX and Linux, maybe others).
Diffstat (limited to 'pathnames.h.in')
-rw-r--r-- | pathnames.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pathnames.h.in b/pathnames.h.in index 2f19b6ce8..0e76a7283 100644 --- a/pathnames.h.in +++ b/pathnames.h.in @@ -45,6 +45,10 @@ #define _PATH_DEFPATH "/usr/bin:/bin" #endif /* _PATH_DEFPATH */ +#ifndef _PATH_ENVIRONMENT +#define _PATH_ENVIRONMENT "/etc/environment" +#endif /* _PATH_ENVIRONMENT */ + /* * NOTE: _PATH_SUDOERS is usually overriden by the Makefile. */ |