Without knowing the application or the environment variables not being set, this question is just a shot in the dark: is the C program setuid or setgid?
For security, certain variables are cleansed from the environment for setuid or setgid applications. Among them are PATH, LD_LIBRARY_PATH, and others.
--MidLifeXis
In reply to Re: Problem with Perl 'system' comand
by MidLifeXis
in thread Problem with Perl 'system' comand
by bkimelman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |