[Bug 1346] PAM environment takes precedence over SendEnv

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Dec 15 11:59:15 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1346





--- Comment #23 from Vincent Lefevre <vincent at vinc17.org>  2008-12-15 11:59:13 ---
(In reply to comment #22)
> If you execute command with bash then file ~/.bashrc isn't processed.
> It is fine bash to do same for ssh command - it is expected to be
> rejected from bash team. Ask you vendor to drop too.

There is a difference: when one executes a command with bash, the
environment is already set up. When executing a command with ssh, it is
useful to set up the environment before executing the command
(AcceptEnv/SendEnv are too limited, since one generally wants an
environment that is different from the client one -- in particular for
the locales, which are not the same on the client side and on the
server side). That's why it is useful to process the .bashrc file, and
this is what Debian has chosen. This is the only way I can have correct
locales (those I really want) on the remote host.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list