Re: Setting environment variables whitout shell
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Sat, 15 Sep 2007 05:05:00 GMT
On Fri, 14 Sep 2007 05:00:23 -0700, Tiago Rossi
<tiago.rossi@xxxxxxxxx> wrote:
Perhaps you want "sudo -i". The -i option was added to sudo in version
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
1.6.7p5. If you use sudo to run the application, it doesn't need setuid
permissions. In fact, those permissions allow any user to run that
application as its owner.
--
It's better to be wanted for murder that not to be wanted at all.
-- Marty Winch
.
- References:
- Setting environment variables whitout shell
- From: Tiago Rossi
- Setting environment variables whitout shell
- Prev by Date: Re: Bug in Fedora?
- Next by Date: Re: Bug in Fedora?
- Previous by thread: Setting environment variables whitout shell
- Next by thread: Bug in Fedora?
- Index(es):