On Mon, Sep 17, 2012 at 03:53:20PM -0700, Isaac Dunham wrote:
> On Mon, 17 Sep 2012 17:14:03 +0000
> Marcin Cieslak <sa...@saper.info> wrote:
> 
> > On Mon, 17 Sep 2012, Isaac Dunham wrote:
> > 
> > > Though it might be better to exploit /etc/profile...
> > 
> > Is dtlogin sourcing /etc/profile at all? 
> > 
> > //Marcin
> 
> No, but I'm thinking that it might be good to change that.
> 
> -- 
> Isaac Dunham <ibid...@lavabit.com>

Not all systems set PATH from /etc/profile.
Getting the desired settings on every distribution could be very tricky.

Looking at debian based systems like ubuntu, PATH is set from /etc/environment
or from /etc/login.defs as ENV_PATH.
It seems that AIX also uses /etc/environment.  
Code in programs/dtlogin/util.c is already looking in /etc/environment for LANG 
on AIX.

-- 
Mike Stroyan
m...@stroyan.net

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to