From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210368.tru64-unix-managers.marc@archive.invalid> From: Andy Townsend Date: Tue, 11 Nov 1997 15:18:42 +0000 To: tru64-unix-managers Subject: SUMMARY: Trouble with .cshrc X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210368 Hi everyone, Many heartfelt thanks to the following for their insight: Sean O'Connell Elliot Smorodinsky Kris Larsen Stephen LaBelle Trevor Stott Lucio Chiappetti George Guethlein (Original post follows summary) Most people suggested manipulating /etc/csh.cshrc and /etc/csh.login as these files are consulted by csh users before their $HOME/.cshrc files. When I tried specifying the "source" line in /etc/csh.cshrc, I was given the error "source: not found", even though a "which source" produced /builtin/source. What I ultimately did was create a .cshrc file for the users and put the "source" line in there. When I copied the .cshrc file from /, I was overwriting the users "current" path. So, the fix was a barebones .cshrc file in the users' home directories with the single "source" line in it. Interesting to note though: The users pathings are still remaining predefined, but not by the .cshrc, .login, /etc/csh.cshrc, /etc/csh.login files. I can't figure out where they are coming from, but the fire is out for now. Thanks for all your help!! Andy Townsend Computer and Electronics Services Horn Point Laboratory University of Maryland Center for Environmental Sciences townsend@hpl.umces.edu Good morning, I have installed some software (IDL 5.0) on an Alpha running DUnix 4.0. The software required modifying the .cshrc files of the users who were going to be using the software. The users did not have .cshrc files in their home directories. I copied the .cshrc file from the / directory (the /usr/skel/.cshrc file did not have anything in it other than a set mail variable) to the users' home directories and modified them per the needs of the IDL software. Now one of the users cannot run some scripts he had been running. If I remove the .cshrc file from his home directory, he's fine. I have two guesses. First of all, his pathings might have changed by the new .cshrc file so the scripts are no longer in his path. Secondly, the scripts might rely on environment variables that were reset when I copied over the .cshrc file. Does anyone have any ideas what might be going on? If I inadvertantly changed his pathings, where were they coming from in the first place since he didn't have .login or .cshrc files in his home directory? Similarly, if I reset some environment variables, where might they have been set initially? Any help would be greatly appreciated. Thank you very much, Andy Townsend