[26548] in Athena Bugs
profile.d skipped in console login
daemon@ATHENA.MIT.EDU (Ken T Takusagawa)
Mon Aug 29 18:55:37 2005
Date: Mon, 29 Aug 2005 18:55:02 -0400 (EDT)
From: Ken T Takusagawa <kenta@mit.edu>
To: bugs@mit.edu
In-Reply-To: <Pine.LNX.4.62L.0508291806060.30129@opus.mit.edu>
Message-ID: <Pine.LNX.4.62L.0508291847070.31004@opus.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: 1.844
X-Spam-Level: * (1.844)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu
On Linux there is this excerpt in /etc/bashrc
if ! shopt -q login_shell ; then # We're not a login shell
for i in /etc/profile.d/*.sh; do
if [ -r "$i" ]; then
. $i
fi
which causes different behavior (e.g., alias ll) for remote (ssh) logins
(for which it is a login_shell) and gnome-terminal interactions on
console.