<?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: rexec illegal seek in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978125#M4796</link>
    <description>great !&lt;BR /&gt;But still pay attention to this security leak on your system...&lt;BR /&gt;J</description>
    <pubDate>Wed, 21 May 2003 12:00:05 GMT</pubDate>
    <dc:creator>Jerome Henry</dc:creator>
    <dc:date>2003-05-21T12:00:05Z</dc:date>
    <item>
      <title>rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978118#M4789</link>
      <description>Hello,&lt;BR /&gt;I am trying to execute simple "ls" command on remote machine using rexec command. But I am getting following error messages&lt;BR /&gt;---------------------------&lt;BR /&gt;rexec: Error in rexec system call&lt;BR /&gt;rexec: (The following system error may itself be in error)&lt;BR /&gt;rexec: Illegal seek&lt;BR /&gt;-----------------------------&lt;BR /&gt;&lt;BR /&gt;Can any body tell me what is the problem..?&lt;BR /&gt;Regards,&lt;BR /&gt;Prasad.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2003 06:10:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978118#M4789</guid>
      <dc:creator>K.G.V.S.Prasad</dc:creator>
      <dc:date>2003-05-21T06:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978119#M4790</link>
      <description>Many possible source.&lt;BR /&gt;Make sure that REXEC has been enabled on the target system as a service controlled by xinetd (from desktop, check "System, Service Configuration"). Additionally "rexec" has to be added to the file /etc/securetty as well in this case.&lt;BR /&gt;Can also be a PAM problem. Try this first and post if it doesn't solve.&lt;BR /&gt;J</description>
      <pubDate>Wed, 21 May 2003 06:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978119#M4790</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-05-21T06:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978120#M4791</link>
      <description>Hello Jerome,&lt;BR /&gt;I have made the "rexec" service as "automatic" service, and hence it should get started when system started. Is there a way to check whether it is running or not..? &lt;BR /&gt;&lt;BR /&gt;"/etc/security" folder has many files. which file shall I need to modify...?&lt;BR /&gt;How can I know whether it is PAM problem or not..?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Prasad.</description>
      <pubDate>Wed, 21 May 2003 08:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978120#M4791</guid>
      <dc:creator>K.G.V.S.Prasad</dc:creator>
      <dc:date>2003-05-21T08:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978121#M4792</link>
      <description>Yes !&lt;BR /&gt;chkconfig --list | grep rexec&lt;BR /&gt;&lt;BR /&gt;It's not security, but securetty, a shorter file indeed, just edit it and check that 'rexec' is in it. If not, just add it at the end.&lt;BR /&gt;J</description>
      <pubDate>Wed, 21 May 2003 09:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978121#M4792</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-05-21T09:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978122#M4793</link>
      <description>Hello Jerome,&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;The command "chkconfig --list | grep rexec" shown that rexec is "on".&lt;BR /&gt;&lt;BR /&gt;I thought that securetty is a typo of security. Sorry for this.&lt;BR /&gt; &lt;BR /&gt;I have added "rexec" to "/etc/securetty.org" but no use. Still same error is coming. Any other suggestions..?&lt;BR /&gt;Regards,&lt;BR /&gt;Prasad.</description>
      <pubDate>Wed, 21 May 2003 09:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978122#M4793</guid>
      <dc:creator>K.G.V.S.Prasad</dc:creator>
      <dc:date>2003-05-21T09:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978123#M4794</link>
      <description>Hi,&lt;BR /&gt;back after lunch. It's securetty, not .org, isn't it ?&lt;BR /&gt;Basically, prob is that you do not have rw rights on the remote machine. Being local root doesn't make you remote root. Are you remote root ?&lt;BR /&gt;Is the service running on remote machine ?&lt;BR /&gt;Read this step by step about it :&lt;BR /&gt;&lt;A href="http://www.auggy.mlnet.com/ibm/3376c48.html" target="_blank"&gt;http://www.auggy.mlnet.com/ibm/3376c48.html&lt;/A&gt;&lt;BR /&gt;BTW? r-utilities are nevertheless considered as very dangerous on a network, as they send password in plain text. That's why most recent distro block them, that's the role of PAM module here.&lt;BR /&gt;Why not use ssh instead ? It'll be easier to set up than turning off all the security of your systems...&lt;BR /&gt;Read this :&lt;BR /&gt;&lt;A href="http://www.linuxdocs.org/HOWTOs/Security-HOWTO-4.html" target="_blank"&gt;http://www.linuxdocs.org/HOWTOs/Security-HOWTO-4.html&lt;/A&gt;&lt;BR /&gt;and this to set up ssh :&lt;BR /&gt;&lt;A href="https://www.itso.iu.edu/howto/ssh-unix.epl" target="_blank"&gt;https://www.itso.iu.edu/howto/ssh-unix.epl&lt;/A&gt;&lt;BR /&gt;J&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2003 10:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978123#M4794</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-05-21T10:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978124#M4795</link>
      <description>Hello,&lt;BR /&gt;The file /etc/securetty is not there in my system. For ur information I am working on Linux Red Hat 7.2.&lt;BR /&gt; &lt;BR /&gt;I am root on local meanchine and remote machine as well.&lt;BR /&gt;&lt;BR /&gt;The problem was found. That is, in the remote machine rexec port has been under linux system firewall. I have modified the /etc/sysconfig/ipchains file to accept rexec port 512 and restarted the machine and it is working fine.    &lt;BR /&gt;Regards,&lt;BR /&gt;Prasad.</description>
      <pubDate>Wed, 21 May 2003 11:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978124#M4795</guid>
      <dc:creator>K.G.V.S.Prasad</dc:creator>
      <dc:date>2003-05-21T11:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978125#M4796</link>
      <description>great !&lt;BR /&gt;But still pay attention to this security leak on your system...&lt;BR /&gt;J</description>
      <pubDate>Wed, 21 May 2003 12:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978125#M4796</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-05-21T12:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978126#M4797</link>
      <description>All right,&lt;BR /&gt;/etc/securetty used to specify ports on which&lt;BR /&gt;root user can do login to the system (get from getty).If it doesn't exist - root can login freely (not advised).Usually should put console there.&lt;BR /&gt;And no need to restart computer if you change firewall settings :)&lt;BR /&gt;&lt;BR /&gt;Best Wishes&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Wed, 21 May 2003 14:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978126#M4797</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-05-21T14:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978127#M4798</link>
      <description>Hello Jerome and Zeev,&lt;BR /&gt;Could u please send me a copy of securetty file, so that I will also try with that. &lt;BR /&gt;&lt;BR /&gt;After modifying ipchains file, rexec is not working with out restarting the system. I dont know whether restarting is mandatory or not, but that is my experience.&lt;BR /&gt; &lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Prasad.</description>
      <pubDate>Thu, 22 May 2003 08:06:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978127#M4798</guid>
      <dc:creator>K.G.V.S.Prasad</dc:creator>
      <dc:date>2003-05-22T08:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978128#M4799</link>
      <description>Here is my securetty (I do not have rexec allowed, it should be added at the end).&lt;BR /&gt;Ipchains ? You do not use iptables ? Do you run kernel 2.4 ? then iptbles would be a better idea.&lt;BR /&gt;After setting sth in ipchains, rebooting normally flushes the rules, unless you have saved them. It seems that you ruleset is preventing your rexec.&lt;BR /&gt;To restart something, better use /etc/rc.d/init.d/service_name restart than restarting the whole machine.&lt;BR /&gt;J</description>
      <pubDate>Thu, 22 May 2003 08:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978128#M4799</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-05-22T08:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978129#M4800</link>
      <description>Hello Jerome,&lt;BR /&gt;I tried with securetty file but not working. I did the following.&lt;BR /&gt;I have created a file with name "securetty" and put it in "etc" directory. The file contents are same as yours and also "rexec" added at the end. Also restarted the machine.&lt;BR /&gt;&lt;BR /&gt;Yes . I am running Kernal 2.4.  &lt;BR /&gt;Regards,&lt;BR /&gt;Prasad.</description>
      <pubDate>Mon, 26 May 2003 04:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978129#M4800</guid>
      <dc:creator>K.G.V.S.Prasad</dc:creator>
      <dc:date>2003-05-26T04:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: rexec illegal seek</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978130#M4801</link>
      <description>- does it work for normal users?&lt;BR /&gt;&lt;BR /&gt;- does rsh work?&lt;BR /&gt;&lt;BR /&gt;Vitaly</description>
      <pubDate>Mon, 26 May 2003 05:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-illegal-seek/m-p/2978130#M4801</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-05-26T05:23:04Z</dc:date>
    </item>
  </channel>
</rss>

