AIX reading /etc/environment out of step.

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Thu Jan 24 03:48:02 EST 2002


On Wed, 23 Jan 2002, Gert Doering wrote:

> Hi,
>
> On Wed, Jan 23, 2002 at 09:35:42AM -0600, mouring at etoh.eviladmin.org wrote:
> > > - It's the AIX way. There are variables set in there that are required
> > > for interaction with the system libraries. You either have to read it
> > > or duplicate it.
> >
> > However you do get why I don't like it.  It is undocumented and is
> > targeted to a single platform.
>
> So let's document it? :-)
>
> As for "single platform" - well, other platforms don't do it that way,
> so if we start doing it, it might also lead to nasty surprises.
>

Issue with documentation..

1) Who will maintain all the diferences in the manpages?

2) Why would someone running Linux/Redhat care about an AIX 'feature'?
Same goes for people in AIX..Why do they care about PAM since they don't
use it.

One would almost have to have a manpage per OS.  Which would be impratical
to maintain.

My main intent is for some known who understand AIX well enough to ensure
the code is in the right place.  It stuck out like a bike with a bent
front wheel while skimming that part of the code whiling discussing about
'clean untampered environments' (mainly because the manpage makes a point
to define what is read on establishing a ssh shell).

On the same note.. I assume AIX has it's own krb4.  Otherwise the nice
krb4 variables set in do_child() will be overwritten a few lines down.

- Ben




More information about the openssh-unix-dev mailing list