Bug 2931 - tcsh & /etc/profile.d scripts
tcsh & /etc/profile.d scripts
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: setup (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-19 21:00 EDT by Milan Kerslager
Modified: 2014-03-16 22:09 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-09-02 13:46:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Milan Kerslager 1999-05-19 21:00:04 EDT
If we use bash, scripts in /etc/profile.d are interpretted
during login procedure. But for tcsh (or csh) every time
shell is invoked.

Solution:
rename /etc/csh.cshrc to /etc/csh.login

Nothing other is affected by this change. Just both shells
should do job the same way.
Comment 1 Milan Kerslager 1999-05-21 05:25:59 EDT
We have various problems with software that uses this to set-up shell
environment when somebody uses tcsh or csh especially when it need to
something print out during login procedure. This bug cause for
example that users can't use scp. I reported already this bug for
RH5.2 but not via Bugzilla system.
Comment 2 Cristian Gafton 1999-07-28 03:46:59 EDT
assigned to jbj

This could be a hairy one - renaming a config file and making sure we
transport the changes over...
Comment 3 Jeff Johnson 1999-09-02 13:46:59 EDT
Fixed in setup-2.0.5-1. Please note that modified /etc/csh.cshrc
should be saved by rpm as /etc/csh.cshrc.rpmsave and that those
modifications should be put into /etc/csh.login now.

Note You need to log in before you can comment on or make changes to this bug.