Bug 2931 - tcsh & /etc/profile.d scripts
Summary: tcsh & /etc/profile.d scripts
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: setup
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-20 01:00 UTC by Milan Kerslager
Modified: 2014-03-17 02:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 1999-09-02 17:46:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Milan Kerslager 1999-05-20 01:00:04 UTC
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 09:25:59 UTC
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 07:46:59 UTC
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 17:46:59 UTC
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.