Bug 177 - -i option on AIX does not process the /etc/environment file
-i option on AIX does not process the /etc/environment file
Status: RESOLVED DUPLICATE of bug 83
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.8
IBM AIX
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-09 13:19 MDT by Steven Ehnis
Modified: 2005-05-09 17:30 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Ehnis 2005-05-09 13:19:10 MDT
ON AIX the default TZ & LANG values are set in the /etc/environment file. When 
using the -i option for sudo, the TZ & LANG environment variables are not being 
set. This is different from doing /bin/su -.  This problem does not happen on 
Solaris.

This difference was not detected and caused an application to be started under 
the TZ of UTC instead of EDT, a 4 hour LATER start, and now a 4 hour outage is 
required to correct.
Comment 1 Todd C. Miller 2005-05-09 13:30:50 MDT
AIX has its own special API for /etc/environment and resource limits.  Until
someone gives me login and compile access to an AIX machine I cannot add support
for this.

*** This bug has been marked as a duplicate of 83 ***