When trying to run the AIX_Console agent using sudo or the setuid_launcher, though the command runs successfully using sudo. The agent log shows the following error
YYYY-MM-DD HH:MM:SS ECHO <OSCartridge/5.5.*/AIX_Console/AIX_Console_on_quest> VERBOSE [stderr Reader] com.quest.glue.core.jfogbank.JFogbankAgentImpl - stderr: FGLHOME has not been set in the agent environment
Please add the following entry below to the defaults of the sudoer file.
This will prevent the environment from being reset and the AIX Console will run successfully.
If the entry "defaults env_reset" is present in the sudoers file delete it, in addition to adding the "defaults:foglight !env_reset" entry.
This KB article is applicable to Linux also.
 When tried to run from the command line by setting the FGLHOME variable manually the same error is received.
 If setuid_launcher is used instead of sudo, the same error is received.
 If the agent is installed as a non root user the agent works fine.
 When running the agent as the root user, setting the stick bit on the setuid_launcher the agent works fine
# chmod +s setuid_launcher
-rwsrwsr-x 1 root root 135900 Jul 13 2009 setuid_launcher
But due to tight security on the site this in not an option so the sticky bit had to be removed.