<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991293#M124428</link>
    <description>Would go for John's advise and disable&lt;BR /&gt;rexecd in inetd.conf.I've faced simmilar&lt;BR /&gt;problem with rexec &amp;amp; inetd.sec when was doing&lt;BR /&gt;rexec from my ReflectionX (term application) to&lt;BR /&gt;hp-ux host.I was allowed to "rexec hpterm" despite inetd.sec lines.&lt;BR /&gt;As to Elena's response - hp aware of rexec issues and plan to release some sort of a fix.&lt;BR /&gt;So Elena posted some Jagxxxx that comes from&lt;BR /&gt;Hp sites.&lt;BR /&gt;For more secure needs though I'd go for IPfilter.</description>
    <pubDate>Sat, 07 Jun 2003 08:09:19 GMT</pubDate>
    <dc:creator>Zeev Schultz</dc:creator>
    <dc:date>2003-06-07T08:09:19Z</dc:date>
    <item>
      <title>rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991281#M124416</link>
      <description>I am trying to set up our system so that nobody can directly login to root.  Rather, I want them to use their assigned userid and then su to root.  To that end I created /etc/securetty and placed "console" (without the quotes) in the file.  This works fine except when it comes to rexec.  It seems you can directly login to the system as root if you use rexec.  Is there any way to prevent this?</description>
      <pubDate>Fri, 06 Jun 2003 17:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991281#M124416</guid>
      <dc:creator>Ed Watson_1</dc:creator>
      <dc:date>2003-06-06T17:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991282#M124417</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have you got a .rhosts file in home dir of root ?&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Fri, 06 Jun 2003 17:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991282#M124417</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-06-06T17:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991283#M124418</link>
      <description>If I understood your question correctly then,&lt;BR /&gt;&lt;BR /&gt;rexec, remsh all will take the current $LOGNAME and tries to login to the remote system with that username.  If you are a non-root user in the local machine, you cannot login as root in the remote machine.&lt;BR /&gt;&lt;BR /&gt;Can you tell exactly what you did to come to this conclusion?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Fri, 06 Jun 2003 17:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991283#M124418</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-06-06T17:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991284#M124419</link>
      <description>I found this info, not sure it is current thouh ...&lt;BR /&gt;Problem Text&lt;BR /&gt;&lt;BR /&gt;CR# JAGad96327&lt;BR /&gt;problem&lt;BR /&gt;There is no way to prevent the login as 'root' using 'rexec' provided&lt;BR /&gt;that the root passwd is given properly. Using 'remsh' a user 'root' can&lt;BR /&gt;diasble the loging as 'root' by not giving the .rhosts entry. But for&lt;BR /&gt;rexec no mechanism as such.&lt;BR /&gt;&lt;BR /&gt;Fix Text&lt;BR /&gt;&lt;BR /&gt;fix&lt;BR /&gt;New option -S is added to rexecd for this ER.&lt;BR /&gt;&lt;BR /&gt;This fix will be available to all customers from 11.23 release.&lt;BR /&gt;&lt;BR /&gt;Fixed binary has been provided on,&lt;BR /&gt;      11.00&lt;BR /&gt;      11.11&lt;BR /&gt;&lt;BR /&gt;Available at &lt;A href="ftp://jog.india.hp.com/pub/Inetsvcs/R-" target="_blank"&gt;ftp://jog.india.hp.com/pub/Inetsvcs/R-&lt;/A&gt;&lt;BR /&gt;COMMANDS/Binaries/rexec/JAGad96327/&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 17:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991284#M124419</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-06-06T17:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991285#M124420</link>
      <description>Yes, I do have an .rhosts in /root.  I renamed it to see what would happen and it did not seem to have an effect.</description>
      <pubDate>Fri, 06 Jun 2003 17:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991285#M124420</guid>
      <dc:creator>Ed Watson_1</dc:creator>
      <dc:date>2003-06-06T17:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991286#M124421</link>
      <description>Umapathy S,&lt;BR /&gt;&lt;BR /&gt;To answer your question, if console is the only device specified in /etc/securetty, then if you are root on the local machine then you cannot telnet, rlogin, etc. to the remote machine.  At least that is the way I understand it.  Instead, you would have to use your own userid to get in, then su to root.  This has proven to be the case for all methods except rexec.</description>
      <pubDate>Fri, 06 Jun 2003 17:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991286#M124421</guid>
      <dc:creator>Ed Watson_1</dc:creator>
      <dc:date>2003-06-06T17:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991287#M124422</link>
      <description>Now understood the problem.&lt;BR /&gt;&lt;BR /&gt;thanks Ed.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 17:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991287#M124422</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-06-06T17:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991288#M124423</link>
      <description>Despite indications from the rexecd man page, rexecd does in fact call pam modules as configured in pam.conf.  While I am no expect on writing pam modules, it should be possible to put together a custom module that checks for root in an rcomd login and rejects the request.&lt;BR /&gt;&lt;BR /&gt;Here is the debug output from rexecd:&lt;BR /&gt;&lt;BR /&gt; Jun  6 09:17:01 sara rexecd[8152]: unix pam_sm_authenticate(rcomds root), flags = 0 &lt;BR /&gt;Jun  6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: -1 12209&lt;BR /&gt;Jun  6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: flags 0x0&lt;BR /&gt;Jun  6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: -1 -1 -1&lt;BR /&gt;Jun  6 09:17:01 sara rexecd[8152]: warn_user_passwd_will_expire: -1 -1 12209 -1&lt;BR /&gt;Jun  6 09:17:01 sara rexecd[8152]: pam_sm_acct_mgmt: 0 0 root&lt;BR /&gt;Jun  6 09:17:02 sara rexecd[8152]: pam_sm_acct_mgmt: error 0&lt;BR /&gt;Jun  6 09:17:02 sara rexecd[8152]: pam_sm_acct_mgmt: exiting, error 0&lt;BR /&gt;Jun  6 09:17:02 sara rexecd[8152]: pam_sm_setcred(): no module data&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 18:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991288#M124423</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-06-06T18:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991289#M124424</link>
      <description>Elena,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response.  I think you are on to something.  Unfortunately I cannot locate this fix on the hp.com website nor can I get to the FTP site you referenced.  Also, we are running 11.11, so I was hoping the fix was already in place.  I put the -S option in the /etc/inetd.conf file on the rexecd line, but it did not correct the problem.  So I am assuming I need to get the patch.  I'll keep looking.</description>
      <pubDate>Fri, 06 Jun 2003 19:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991289#M124424</guid>
      <dc:creator>Ed Watson_1</dc:creator>
      <dc:date>2003-06-06T19:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991290#M124425</link>
      <description>Just my two cents worth and it would disable rexec for every user, not just root. Comment out the entry "exec" in /etc/inetd.conf, then issue inetd -c to refresh inetd.&lt;BR /&gt;&lt;BR /&gt;#bootps      dgram  udp wait   root /usr/lbin/bootpd   bootpd&lt;BR /&gt;#finger      stream tcp nowait bin  /usr/lbin/fingerd  fingerd&lt;BR /&gt;login        stream tcp nowait root /usr/lbin/rlogind  rlogind&lt;BR /&gt;shell        stream tcp nowait root /usr/lbin/remshd   remshd&lt;BR /&gt;#exec         stream tcp nowait root /usr/lbin/rexecd   rexecd&lt;BR /&gt;#uucp        stream tcp nowait root /usr/sbin/uucpd    uucpd&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 19:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991290#M124425</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-06-06T19:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991291#M124426</link>
      <description>Ed,&lt;BR /&gt;&lt;BR /&gt;There is a PHNE_27777 s700_800 11.11 r-commands cumulative mega-patch.&lt;BR /&gt;&lt;BR /&gt;Elena.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2003 19:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991291#M124426</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-06-06T19:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991292#M124427</link>
      <description>Elena,&lt;BR /&gt;&lt;BR /&gt;I installed the PHNE_27777 patch, but still no luck.</description>
      <pubDate>Fri, 06 Jun 2003 20:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991292#M124427</guid>
      <dc:creator>Ed Watson_1</dc:creator>
      <dc:date>2003-06-06T20:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991293#M124428</link>
      <description>Would go for John's advise and disable&lt;BR /&gt;rexecd in inetd.conf.I've faced simmilar&lt;BR /&gt;problem with rexec &amp;amp; inetd.sec when was doing&lt;BR /&gt;rexec from my ReflectionX (term application) to&lt;BR /&gt;hp-ux host.I was allowed to "rexec hpterm" despite inetd.sec lines.&lt;BR /&gt;As to Elena's response - hp aware of rexec issues and plan to release some sort of a fix.&lt;BR /&gt;So Elena posted some Jagxxxx that comes from&lt;BR /&gt;Hp sites.&lt;BR /&gt;For more secure needs though I'd go for IPfilter.</description>
      <pubDate>Sat, 07 Jun 2003 08:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991293#M124428</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-07T08:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991294#M124429</link>
      <description>Sorry,last one was related to /etc/securetty&lt;BR /&gt;and not /var/adm/inetd.sec.Please contact HPRC&lt;BR /&gt;for updated rexecd or disable it at all.&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Sun, 08 Jun 2003 06:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2991294#M124429</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-08T06:51:02Z</dc:date>
    </item>
  </channel>
</rss>

