[ILUG] SCP and Clearcquest

Brian O'Mahony brian.omahony at curamsoftware.com
Tue Oct 7 12:21:54 IST 2008


Hi there.

We use SCP to transfer stuff around between servers here (all running RHEL4u6). Recently the CC/CQ admins updated the CQ install to a newer version. Now scp doesn't work. The user ccadm, and the root user needed to have this:
. /opt/rational/clearquest/cq_setup.sh
Added to the .bashrc file (according to the admins anyways).

If I comment this out, scp works fine. Checking whether it was the LIBRARY_PATH or PATH, I diffed the before and after variables, and reset these further down in the bashrc. This didn't resolve the issue.

Is there anyway to stop SCP calling this script when connecting from other machines?

--
BTW here is the actual script:

[root at ccvob01_pr ~]# cat /opt/rational/clearquest/cq_setup.sh
#!/bin/sh


EVAL_STATUS=1
eval `/opt/rational/clearquest/linux_x86/bin/clearquest -dumpsh`

if [ "$EVAL_STATUS" -eq "0" ]
then
    echo "You can now run 'clearquest' to start Rational ClearQuest."
fi
unset EVAL_STATUS


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.




More information about the ILUG mailing list