AIX reading /etc/environment out of step.

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Wed Jan 23 15:52:03 EST 2002


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.

- Ben




More information about the openssh-unix-dev mailing list