AIX reading /etc/environment out of step.

Booker C. Bense bbense at networking.stanford.edu
Thu Jan 24 01:55:26 EST 2002


On Tue, 22 Jan 2002 mouring at etoh.eviladmin.org wrote:

>
>
> On Tue, 22 Jan 2002, Gert Doering wrote:
>
> > Hi,
> >
> > On Tue, Jan 22, 2002 at 12:09:13PM -0600, mouring at etoh.eviladmin.org wrote:
> > > I was discussing with Don about a private topic..and while skimming the
> > > code I noticed that during a 'ssh mouring at site ls'  the /etc/environment
> > > is *ONLY* read if the remote machine is an AIX box.  This is undocumented
> > > and I'm wondering if someone using AIX could explain WHY it exists in the
> > > session.c:do_child()?  No other OS has this.  I don't see why AIX should
> > > require it.
> >
> > All other ways to log into AIX read this.  So by doing it you're easing
> > switchover from rlogin/whatever to ssh.
> >
> Still don't like the idea.  You sure it is required in this location and
> should not be somewhere else?  Like for interactive sessions only?
> Remember this is include for all subsystems.
>

- 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.

- Booker C. Bense




More information about the openssh-unix-dev mailing list