Syntax errors in /etc/profile.d/kde.csh (a c-shell script) introduce problems for user accounts that have their shell field in /etc/passwd set either to /bin/csh or /bin/csh. Specifically, the syntax errors in kde.csh prevent the startup files ~/.login and/or ~/.cshrc from executing. I have resolved this bug by removing the syntax and logical errors in kde.csh. Here is a copy of the original kde.csh, followed by my repaired version. I leave it to Red Hat to evaluate and/or improve upon my solution, as is appropriate: Original version of kde.csh: # KDE initialization script (csh) if ( $?KDEDIR ) then if ( $KDEDIR == "/usr" ) then exit endif endif setenv KDEDIR /usr kdepath="${KDEDIR}/bin" if ( echo ${PATH} | grep -q ${kdepath} ) then exit endif setenv PATH "${kdepath}:${PATH}" # end orignal version ------------------------------------------ # repaired KDE initialization script (csh) if ( $?KDEDIR ) then if ( $KDEDIR == "/usr" ) then exit endif endif setenv KDEDIR /usr set kdepath="${KDEDIR}/bin" echo ${PATH} | grep -q ${kdepath} if ( $? == 0) then exit endif setenv PATH "${kdepath}:${PATH}" Thank you, David Cohn, Department of Technology Market News International 100 William Street, 3rd Floor New York, NY 10038 212-509-4444
Please excuse typo in previous commentary. Phrase should have read "either to /bin/csh or /bin/tcsh." Thank you, David Cohn
*** This bug has been marked as a duplicate of 3686 ***