On 24/07/12 20:08, Wjhonson wrote:
> On nix, when you change users, you are saying it does not set any environment
> variables ?
Yes I am - by default at least.
If I write a service that starts off as root, then suids to something
else, it is down to MY PROGRAMMING to load that user's environment. If I
don't, it runs with the original environment.
That's why so many things written by inexperienced users and run from
cron keep breaking ...
> -----Original Message-----
> From: Wols Lists <antli...@youngman.org.uk>
> To: u2-users <firstname.lastname@example.org>
> Sent: Tue, Jul 24, 2012 11:59 am
> Subject: Re: [U2] uniobjects running as?
> On 24/07/12 18:57, Wjhonson wrote:
> Why would it not use the env settings of the user you log in as in
> Why don't you try to log in as that user yourself and check the settings
> Why wouldn't it use the env settings? Because if it's on nix, and starts
> s root then changes user, it needs to be specially coded to load that
> ser's environment.
> It may well not have been thus coded - it doesn't happen automagically.
> 2-Users mailing list
> U2-Users mailing list
U2-Users mailing list