On Fri, May 04, 2007 at 08:26:14PM +0200, [EMAIL PROTECTED] wrote:
> 
> >Apparently the definition of login shell vs. interactive shell changed
> >somewhere in the lineage of SUNWssh.  A Solaris 9 box running
> >113273-10 processed $HOME/.profile even when scp was being run.  A
> >Solaris 9 box running 113273-11 never processes $HOME/.profile unless
> >an interactive session is used.  The following CR seems to be
> >related...
> 
> I'm surprised it ran ~/.profile before.
> 
> I'm certain it did not run *csh .login; a non-interactive shell
> never does that.

Let.s see, in on81-clone I see this:

        /*
         * If we have no command, execute the shell.  In this case, the shell
         * name to be passed in argv[0] is preceded by '-' to indicate that
         * this is a login shell.
         */

and

        /*
         * Execute the command using the user's shell.  This uses the -c
         * option to execute the command.
         */

And I see the same thing in S10/SNV.  So, what gives?

> >6176256 S9 ssh backporting project

Yes, that'd be it, but see above.

Nico
-- 
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to