<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: csh.login problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088519#M74387</link>
    <description>Good idea.  Another thought occurred to me - it might also be another one of the .csh scripts in the /etc/profile.d directory.  I put an echo in front of the source command so it just echoed the source instead of actually executing it, and this portion of the script ran without error.  Then I ran each source command of the .csh scripts and got the errors when I ran /etc/profile.d/java_jre.csh.  Now I just have to figure out what's wrong with that script.</description>
    <pubDate>Thu, 09 Oct 2003 06:52:42 GMT</pubDate>
    <dc:creator>Jim Mickens</dc:creator>
    <dc:date>2003-10-09T06:52:42Z</dc:date>
    <item>
      <title>csh.login problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088517#M74385</link>
      <description>Installed RH Linux AS 2.1 on a machine to do a feasability test.  Users use the Cshell, but I'm getting errors when logging in.  I've narrowed the problem down to the following lines in the /etc/csh.login file:&lt;BR /&gt;if ( -d /etc/profile.d ) then&lt;BR /&gt;   set nonomatch&lt;BR /&gt;   foreach i ( /etc/profile.d/*.csh )&lt;BR /&gt;         if ( -r $i ) then&lt;BR /&gt;            source $i&lt;BR /&gt;         endif&lt;BR /&gt;   end&lt;BR /&gt;   unset i nonomatch&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;The errors I get are:&lt;BR /&gt;root: Command not found.&lt;BR /&gt;root: Undefined variable.&lt;BR /&gt;&lt;BR /&gt;I can comment out the first if/endif and it still does the same thing.  This script is the default that was installed with the OS.  If anyone could knows or has any ideas as to what the problem might be, I'd appreciate it.</description>
      <pubDate>Wed, 08 Oct 2003 13:24:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088517#M74385</guid>
      <dc:creator>Jim Mickens</dc:creator>
      <dc:date>2003-10-08T13:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: csh.login problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088518#M74386</link>
      <description>Try to put a set echo in the script to see where you get the problem. Obviously you do not want to do this while you have many other users connecting as they might be annoyed by the wordy output</description>
      <pubDate>Wed, 08 Oct 2003 16:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088518#M74386</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-10-08T16:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: csh.login problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088519#M74387</link>
      <description>Good idea.  Another thought occurred to me - it might also be another one of the .csh scripts in the /etc/profile.d directory.  I put an echo in front of the source command so it just echoed the source instead of actually executing it, and this portion of the script ran without error.  Then I ran each source command of the .csh scripts and got the errors when I ran /etc/profile.d/java_jre.csh.  Now I just have to figure out what's wrong with that script.</description>
      <pubDate>Thu, 09 Oct 2003 06:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088519#M74387</guid>
      <dc:creator>Jim Mickens</dc:creator>
      <dc:date>2003-10-09T06:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: csh.login problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088520#M74388</link>
      <description>Well, the obvious thing is to check where the JDK/JRE is installed on your system. Root usually has a much more restricted PATH than other users (e.g. no . or /usr/local/bin)</description>
      <pubDate>Thu, 09 Oct 2003 10:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088520#M74388</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-10-09T10:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: csh.login problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088521#M74389</link>
      <description>test - sending replies to the messages is blowing up on me.....</description>
      <pubDate>Thu, 09 Oct 2003 10:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088521#M74389</guid>
      <dc:creator>Jim Mickens</dc:creator>
      <dc:date>2003-10-09T10:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: csh.login problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088522#M74390</link>
      <description>Third time's the charm?&lt;BR /&gt;&lt;BR /&gt;The java_jre.csh file had a bad command in it.  It said "root = " instead of "set root =" when defining a value.  I added 'set' to the command and now it works fine.&lt;BR /&gt;&lt;BR /&gt;Just a heads-up for anyone using RH Linux AS 2.1 with c-shell.....</description>
      <pubDate>Thu, 09 Oct 2003 10:43:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/csh-login-problem/m-p/3088522#M74390</guid>
      <dc:creator>Jim Mickens</dc:creator>
      <dc:date>2003-10-09T10:43:36Z</dc:date>
    </item>
  </channel>
</rss>

