<?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 SSH in a captive account? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785822#M52190</link>
    <description>I just tried to run an ssh and scp command from a captive account, and I got this error:&lt;BR /&gt;&lt;BR /&gt;' System error message: 'captive account - spawn command not allowed'&lt;BR /&gt;&lt;BR /&gt;Is there any workaround to this?  Or are SSH commands not going to work from a captive account?</description>
    <pubDate>Wed, 10 May 2006 10:04:52 GMT</pubDate>
    <dc:creator>Thomas A. Williams</dc:creator>
    <dc:date>2006-05-10T10:04:52Z</dc:date>
    <item>
      <title>SSH in a captive account?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785822#M52190</link>
      <description>I just tried to run an ssh and scp command from a captive account, and I got this error:&lt;BR /&gt;&lt;BR /&gt;' System error message: 'captive account - spawn command not allowed'&lt;BR /&gt;&lt;BR /&gt;Is there any workaround to this?  Or are SSH commands not going to work from a captive account?</description>
      <pubDate>Wed, 10 May 2006 10:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785822#M52190</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-10T10:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSH in a captive account?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785823#M52191</link>
      <description>Correction - the SSH command actually works from a captive account.  It's just the SCP command that doesn't</description>
      <pubDate>Wed, 10 May 2006 14:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785823#M52191</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-10T14:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: SSH in a captive account?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785824#M52192</link>
      <description>I don't know anything, but SHOW PROCESS&lt;BR /&gt;/SUBPROCESSES (/IDENTIFICATION = xxxxxxxx)&lt;BR /&gt;does show a subprocess when SCP is run, and&lt;BR /&gt;a quick dump of the executable&lt;BR /&gt;(SYS$SYSTEM:TCPIP$SSH_SCP2.EXE) does show&lt;BR /&gt;what looks like message text mentioning&lt;BR /&gt;"sys$creprc()", so I'd guess that you're&lt;BR /&gt;doomed.&lt;BR /&gt;&lt;BR /&gt;A quick Google search for:&lt;BR /&gt;scp subprocess&lt;BR /&gt;turns up a few places which say things like:&lt;BR /&gt;&lt;BR /&gt;Recall that the command:&lt;BR /&gt;&lt;BR /&gt;     $ scp ... S:file ...&lt;BR /&gt;&lt;BR /&gt;actually runs ssh in a subprocess to connect to S and invoke a remote scp server.  [...]&lt;BR /&gt;&lt;BR /&gt;(&lt;A href="http://www.unix.org.ua/orelly/networking_2ndEd/ssh/ch11_05.htm)" target="_blank"&gt;http://www.unix.org.ua/orelly/networking_2ndEd/ssh/ch11_05.htm)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All of which seems to reinforce the initial&lt;BR /&gt;impression of doom.</description>
      <pubDate>Wed, 10 May 2006 16:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785824#M52192</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-10T16:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSH in a captive account?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785825#M52193</link>
      <description>Thomas,&lt;BR /&gt;&lt;BR /&gt;  The big hammer fix would be to set bit 6 in the SYSGEN parameter SECURITY_POLICY - this allows SPAWN from CAPTIVE accounts. Depending on your environment, it might not be appropriate to open this hole.&lt;BR /&gt;&lt;BR /&gt;  Note SECURITY_POLICY is NOT dynamic so it's a reboot to set or clear it.&lt;BR /&gt;&lt;BR /&gt;  If the SPAWN command is in DCL, you could add /TRUSTED, or if you can get at the source code, add the flag CLI$M_TRUSTED to the LIB$SPAWN FLAGS parameter.&lt;BR /&gt;&lt;BR /&gt;  I checked the SCP command for a "TRUSTED" flag, nothing obvious.</description>
      <pubDate>Wed, 10 May 2006 18:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785825#M52193</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-05-10T18:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: SSH in a captive account?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785826#M52194</link>
      <description>Thanks for the replies.  I also opened a call with HP support and this was their reply:&lt;BR /&gt;&lt;BR /&gt;"Iâ  ve confirmed the behavior, and have contacted TCPIP engineering about it, and waiting for a response."&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2006 07:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-in-a-captive-account/m-p/3785826#M52194</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-11T07:42:36Z</dc:date>
    </item>
  </channel>
</rss>

