[Bug 1524] Problem with non-interactive logins and bash on Solaris

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Oct 16 07:35:02 EST 2008


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


Tomas Mraz <t8m at centrum.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t8m at centrum.cz




--- Comment #2 from Tomas Mraz <t8m at centrum.cz>  2008-10-16 07:35:01 ---
The current openssh server uses pipes instead of sockets to communicate
with the shell. bash recognized stdin as socket and called .bashrc in
this case. With pipe as stdin the bash runs as any other
non-interactive shell and doesn't read .bashrc.
There is also possibility to recompile bash so it recognizes ssh
through the environment variable SSH_CLIENT.

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


More information about the openssh-bugs mailing list