[Bug 3883] /etc/profile is always executed
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Oct 18 04:35:34 AEDT 2025
https://bugzilla.mindrot.org/show_bug.cgi?id=3883
Jim Knoble <jmknoble at pobox.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmknoble at pobox.com
--- Comment #2 from Jim Knoble <jmknoble at pobox.com> ---
> bash [...] executes commands from ~/.bashrc, if that file exists and is readable
> [...]
> Not sure what are solutions here, though.
This sounds like your ~/.bashrc is somehow sourcing /etc/profile.
I'm unable to reproduce this behavior on (admittedly old) macOS 10.15.7
with OpenSSH 8.1p1.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list