<?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 command in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891686#M3561</link>
    <description>Hi!&lt;BR /&gt;You can try normal shutdown by user1 without&lt;BR /&gt;"rexec" at first time. You can try "reboot".&lt;BR /&gt;What is the result? &lt;BR /&gt;May be you dont need "rexec"?&lt;BR /&gt;Regards,Stan &lt;BR /&gt;</description>
    <pubDate>Sun, 02 Feb 2003 10:48:09 GMT</pubDate>
    <dc:creator>Stanimir</dc:creator>
    <dc:date>2003-02-02T10:48:09Z</dc:date>
    <item>
      <title>rexec command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891683#M3558</link>
      <description>I have 2 HP B2000 workstation ws1 and ws2&lt;BR /&gt;i am using shutdown.allow file to allow user1 to shutdown ws1 from ws2 using the command:&lt;BR /&gt;rexec ws1 /sbin/shutdown -r -y 0&lt;BR /&gt;It works fine .&lt;BR /&gt;also, I would like to allow user1 to shutdown ws2 from ws2 ( shutdown ws2 that he is logged on ) using the command:&lt;BR /&gt;rexec ws2 /sbin/shutdown -r -y 0&lt;BR /&gt;the system will go to run level 3 ( and stay there ) and will not be rebooted as expected .&lt;BR /&gt;&lt;BR /&gt;Any one could help on this issue , I ppretiate.&lt;BR /&gt;regds.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jan 2003 09:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891683#M3558</guid>
      <dc:creator>bashnaini_1</dc:creator>
      <dc:date>2003-01-29T09:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: rexec command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891684#M3559</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;check on ws2 the /etc/shutdown.allow if user1 is allowed to shutdown the ws.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Wed, 29 Jan 2003 12:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891684#M3559</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-01-29T12:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: rexec command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891685#M3560</link>
      <description>on ws2 user1 is allowed to shutdown the machine : the file /etc/shutdown.allow has user1 .&lt;BR /&gt;regds.&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Feb 2003 07:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891685#M3560</guid>
      <dc:creator>bashnaini_1</dc:creator>
      <dc:date>2003-02-01T07:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: rexec command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891686#M3561</link>
      <description>Hi!&lt;BR /&gt;You can try normal shutdown by user1 without&lt;BR /&gt;"rexec" at first time. You can try "reboot".&lt;BR /&gt;What is the result? &lt;BR /&gt;May be you dont need "rexec"?&lt;BR /&gt;Regards,Stan &lt;BR /&gt;</description>
      <pubDate>Sun, 02 Feb 2003 10:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891686#M3561</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-02-02T10:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: rexec command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891687#M3562</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;well it sound a bit strange but if you add "ws2 user1" to the local .rhosts file of user1, it will problably work.&lt;BR /&gt;&lt;BR /&gt;If you don't like to add this to his homedir just give the command without the rexec &lt;BR /&gt;# /sbin/shutdown -r -y 0&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Sun, 02 Feb 2003 17:27:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891687#M3562</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-02-02T17:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: rexec command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891688#M3563</link>
      <description>I have to use rexec. I am using dtwmrc file to give the user menu he can select any workstation to shutdown and reboot it.&lt;BR /&gt;so, if he tried from any ws to shutdown another ws this is working fine but if he tried to shutdown and reboot ( -r ) his own ws that he is logged on this will bring him to run level 3 .&lt;BR /&gt;this is part of dtwmrc file i am using.&lt;BR /&gt;I have 25 workstation:&lt;BR /&gt;&lt;BR /&gt;    "10.20.1.34"  f.exec "dtterm -e rexec ws1 /sbin/shutdown -r -y 0'"&lt;BR /&gt;    "10.20.1.36"  f.exec "dtterm -e rexec ws2 /sbin/shutdown -r -y 0'"&lt;BR /&gt;    "10.20.1.37"  f.exec "dtterm -e rexec ws3 /sbin/shutdown -r -y 0'"&lt;BR /&gt;    "10.20.1.38"  f.exec "dtterm -e rexec ws4 /sbin/shutdown -r -y 0'"&lt;BR /&gt;    "10.20.1.43"  f.exec "dtterm -e rexec ws5 /sbin/shutdown -r -y 0'"&lt;BR /&gt;    "10.20.1.44"  f.exec "dtterm -e rexec ws6 /sbin/shutdown -r -y 0'"&lt;BR /&gt;&lt;BR /&gt;the user can shutdown any of these ws but if tried to shutdown his own ws that he is logged on it will go to run level 3.&lt;BR /&gt;&lt;BR /&gt;regds.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Feb 2003 09:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rexec-command/m-p/2891688#M3563</guid>
      <dc:creator>bashnaini_1</dc:creator>
      <dc:date>2003-02-03T09:07:54Z</dc:date>
    </item>
  </channel>
</rss>

