Setting environment variables whitout shell



Hi people,

is there a way to setup environmente variables to an application
running without shell ?
I setup the permitions of may executable with 7110 to let it execute
with a different user,
so when i start the application with sudo, it seems that it doesn't
start a shell , and consequently does not setup environment variables
defined in ~/.profile

Thanks,

Tiago.

.



Relevant Pages

  • Re: Setting environment variables whitout shell
    ... is there a way to setup environmente variables to an application ... I setup the permitions of may executable with 7110 to let it execute ... start a shell, and consequently does not setup environment variables ... those permissions allow any user to run that ...
    (comp.os.linux.setup)
  • Re: Redirection issue
    ... 1- execute input commands from standard input, ... the phrase "it does not work anymore" carries very little meaning. ... after compilation and execution of the shell with a simple command like ...
    (comp.lang.c)
  • vulnerabilities in scponly
    ... without allowing shell access. ... scponly makes no effort to verify the path to the scp or sftp-server ... arbitrary commands by simply uploading a file. ... However, if this is *NOT* the case, the user could execute arbitrary ...
    (Bugtraq)
  • RE: Shell Shoveling?!?
    ... Subject: Shell Shoveling?!? ... you need to somehow execute code on the box. ... > 2) wouldn't there be a requirement to escalate privileges in order ... > to run NetCat on the compromised host? ...
    (Pen-Test)
  • Re: Redirection issue
    ... 1- execute input commands from standard input, ... "does not work" could be anything from not compiling, not executing, ... after compilation and execution of the shell with a simple command like ...
    (comp.lang.c)