<?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: Unexpected messages when using ssh and rlogin in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994090#M5053</link>
    <description>To clarify further, every command must be run on the login with its full path name&lt;BR /&gt;&lt;BR /&gt;The script you are using hasn't been fully tested.&lt;BR /&gt;&lt;BR /&gt;vi becomes&lt;BR /&gt;/usr/share/locale/vi&lt;BR /&gt;&lt;BR /&gt;tar becomes&lt;BR /&gt;/usr/lib/vfs/extfs/tar&lt;BR /&gt;&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 11 Jun 2003 15:29:56 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-06-11T15:29:56Z</dc:date>
    <item>
      <title>Unexpected messages when using ssh and rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994088#M5051</link>
      <description>Hello, I'm getting some strange messages when using ssh and rlogin to remote login into our server. We have a simple network setup right now, with a Compaq Proliant Server running RedHat Advanced Server 2.1 and a few Compaq workstations running RedHat 8.0. We are using NIS to share user and host name information with the workstations(the only user created on the workstations is root, all other users are created on the server). When we use rlogin or ssh to remote login into the server(using a user other than root), we get these messages:&lt;BR /&gt;&lt;BR /&gt;root: command not found&lt;BR /&gt;root: Undefined variable&lt;BR /&gt;&lt;BR /&gt;The remote login works fine, but we have these messages.&lt;BR /&gt;I also have a question about user environments. When we remote login via ssh or rlogin does the user's environment get setup? i.e. does the .cshrc get executed? For example, our users use the c-shell. So, when we remote login, should we have history and all the other common features of the shell environment? Oh, and could those messages have anything to do with the fact that rlogin and ssh are suid root?&lt;BR /&gt;Any help would be greatly appreciated. I would really like to get rid of those messages!!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Wed, 11 Jun 2003 04:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994088#M5051</guid>
      <dc:creator>Tony Rossomano_2</dc:creator>
      <dc:date>2003-06-11T04:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected messages when using ssh and rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994089#M5052</link>
      <description>Hi,&lt;BR /&gt; Yes.When we remote login via ssh or rlogin the user's environment get setup.&lt;BR /&gt; If the default remote shell is csh, csh sources the remote .cshrc file before the command.  remsh cannot be&lt;BR /&gt;used to run commands that require a terminal interface like vi, more.&lt;BR /&gt; So you need to check up the environment settings for your errors.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Wed, 11 Jun 2003 04:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994089#M5052</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-06-11T04:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected messages when using ssh and rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994090#M5053</link>
      <description>To clarify further, every command must be run on the login with its full path name&lt;BR /&gt;&lt;BR /&gt;The script you are using hasn't been fully tested.&lt;BR /&gt;&lt;BR /&gt;vi becomes&lt;BR /&gt;/usr/share/locale/vi&lt;BR /&gt;&lt;BR /&gt;tar becomes&lt;BR /&gt;/usr/lib/vfs/extfs/tar&lt;BR /&gt;&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 11 Jun 2003 15:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994090#M5053</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-11T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected messages when using ssh and rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994091#M5054</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;You probably have problem with your .cshrc&lt;BR /&gt;check it to find the lines that belong&lt;BR /&gt;to the errors then you will understand the problem.&lt;BR /&gt;&lt;BR /&gt;With the remote connection you have all the&lt;BR /&gt;user enviroment, you can see that because&lt;BR /&gt;that you have those errors, because it's&lt;BR /&gt;load your enviroment.&lt;BR /&gt;&lt;BR /&gt;On the system you will find that a lot of&lt;BR /&gt;programs have suid, without this they could&lt;BR /&gt;not work or work only for root.&lt;BR /&gt;&lt;BR /&gt;Caesar&lt;BR /&gt;&lt;BR /&gt;PS.&lt;BR /&gt;You can also check the .login file.</description>
      <pubDate>Wed, 11 Jun 2003 18:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994091#M5054</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-11T18:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected messages when using ssh and rlogin</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994092#M5055</link>
      <description>Try adding&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;&lt;BR /&gt;to the .cshrc of the user you are logging in as.&lt;BR /&gt;&lt;BR /&gt;This will display each command line as it is being executed, and should make it easier to find the offending command(s).</description>
      <pubDate>Wed, 11 Jun 2003 18:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unexpected-messages-when-using-ssh-and-rlogin/m-p/2994092#M5055</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-06-11T18:27:37Z</dc:date>
    </item>
  </channel>
</rss>

