<?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: Spawn in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672561#M72724</link>
    <description>(enable audit if needed and) do anal/aud to see what is the problem.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Wed, 16 Nov 2005 05:37:30 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2005-11-16T05:37:30Z</dc:date>
    <item>
      <title>Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672560#M72723</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have installed the same project with the same settings (software/uic/uaf accounts etc) on 5 different machines. On one machine, a SPAWN command for a user account with only NETMBX and TMPMBX does not work e.g. give the error message:&lt;BR /&gt;&lt;BR /&gt;%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation&lt;BR /&gt;&lt;BR /&gt;The account has PRCLM set to 10 in UAF and no further UAF settings that could cause problems - as far as I can see.&lt;BR /&gt;&lt;BR /&gt;Can anybody tell me which other parameter could possibly cause this protection violation?&lt;BR /&gt;&lt;BR /&gt;Your help is much appreciated.&lt;BR /&gt;&lt;BR /&gt;Petran.</description>
      <pubDate>Wed, 16 Nov 2005 05:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672560#M72723</guid>
      <dc:creator>Petran Bisschops</dc:creator>
      <dc:date>2005-11-16T05:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672561#M72724</link>
      <description>(enable audit if needed and) do anal/aud to see what is the problem.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 16 Nov 2005 05:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672561#M72724</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-16T05:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672562#M72725</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;also MAXACCTJOBS, MAXDETACH, MAXJOBS matters. But -F-NOPRIV messages don't seem to point to this issue.&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Wed, 16 Nov 2005 06:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672562#M72725</guid>
      <dc:creator>Mike Reznak</dc:creator>
      <dc:date>2005-11-16T06:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672563#M72726</link>
      <description>Petran,&lt;BR /&gt;&lt;BR /&gt;this can (but needs not be) caused by the setting of SYSGEN param SECURITY_POLICY.&lt;BR /&gt;&lt;BR /&gt;Compare the values on the different machines, and if they are not equal, do a SYSGEN HELP SYS_PAR SECURITY to find out about the various possibilities.&lt;BR /&gt;&lt;BR /&gt;Again, this could be the issue, but it is not sure.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 16 Nov 2005 07:12:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672563#M72726</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-11-16T07:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672564#M72727</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your replies so far.&lt;BR /&gt;&lt;BR /&gt;Mike,&lt;BR /&gt;MAXACCTJOBS, MAXDETACH, MAXJOBS are all 0 on all configurations so that should not be causing the trouble.&lt;BR /&gt;&lt;BR /&gt;Jan,&lt;BR /&gt;The SYSGEN param SECURITY_POLICY is set to 7 on all configurations. As far as I can judge only bit 6 to allow SPAWN in CAPTIVE accounts matter but we don't have the captive flag set so this should not be causing trouble.&lt;BR /&gt;&lt;BR /&gt;I will try to see if I can get any info via audit as Wim suggested but I have to figure out how this works first....&lt;BR /&gt;&lt;BR /&gt;So in the mean time, I am still open for any suggestions.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Petran.</description>
      <pubDate>Wed, 16 Nov 2005 08:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672564#M72727</guid>
      <dc:creator>Petran Bisschops</dc:creator>
      <dc:date>2005-11-16T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672565#M72728</link>
      <description>For Audit:&lt;BR /&gt;&lt;BR /&gt;$ SHOW AUDIT shows you, what audits and alarms are set.&lt;BR /&gt;&lt;BR /&gt;for tracing the problem like this is good to have Alarms enabled. Then after you enable opcom security messages $ REPLY/ENABLE=SECURITY you will se the messages on the terminal screen. But do not use alarms, when you create hundreds of subprocesses in a minute. Then its better to anable audits and analyze audit file afterwards.&lt;BR /&gt;To enable Alarm for subprocesses.&lt;BR /&gt;$  SET AUDIT/ALARM/ENABLE=(LOGIN=SUBPROCESS,LOGFAILURE=SUBPROCESS)&lt;BR /&gt;To enable Audit for subprocesses.&lt;BR /&gt;$  SET AUDIT/AUDIT/ENABLE=(LOGIN=SUBPROCESS,LOGFAILURE=SUBPROCESS)&lt;BR /&gt;&lt;BR /&gt;to disable it use /DISABLE= instead of /ENABLE=&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Wed, 16 Nov 2005 08:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672565#M72728</guid>
      <dc:creator>Mike Reznak</dc:creator>
      <dc:date>2005-11-16T08:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672566#M72729</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Mike, I used the audit commands as you suggested but it does not generate an event if I try a spawn.&lt;BR /&gt;&lt;BR /&gt;I did find out that if I give the account SYSPRV, the spawn command works....&lt;BR /&gt;&lt;BR /&gt;Are there any access restrictions to the executable implementing the $SPAWN command?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Petran.</description>
      <pubDate>Wed, 16 Nov 2005 08:48:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672566#M72729</guid>
      <dc:creator>Petran Bisschops</dc:creator>
      <dc:date>2005-11-16T08:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672567#M72730</link>
      <description>What I have seen in the past was some very concerned system manager, who thought it was a good idea to remove read-access from files like F11BXQP.EXE.</description>
      <pubDate>Wed, 16 Nov 2005 08:48:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672567#M72730</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-11-16T08:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672568#M72731</link>
      <description>Petran,&lt;BR /&gt;&lt;BR /&gt;I guess your spawn failed before it was created. You should audit your file operations :&lt;BR /&gt;$ set audit/audit/enable=(access=failure:(read,write,execute,delete,control))&lt;BR /&gt;&lt;BR /&gt;If checked all accesses done by spawn :&lt;BR /&gt;(with userid of spawner)&lt;BR /&gt;RE on loginout.exe&lt;BR /&gt;RE on dcl.exe&lt;BR /&gt;RE on dcltables.exe&lt;BR /&gt;RE on cliutlmsg.exe&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2005 11:19:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672568#M72731</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-16T11:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672569#M72732</link>
      <description>Petran,&lt;BR /&gt;  (WARNING - be careful doing this on a busy system, you could get a whole lot of output!)&lt;BR /&gt;&lt;BR /&gt;  Try this, make sure you have plenty of scroll back on your terminal:&lt;BR /&gt;&lt;BR /&gt;$ REPLY/ENABLE=SECURITY&lt;BR /&gt;$ SET AUDIT/ALARM/ENABLE=PRIVILEGE=FAILURE=ALL&lt;BR /&gt;&lt;BR /&gt;  Now try your unprivileged SPAWN. &lt;BR /&gt;&lt;BR /&gt;Afterwards issue:&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/ALARM/DISABLE=PRIVILEGE=FAILURE=ALL&lt;BR /&gt;&lt;BR /&gt;  to stop the noise.&lt;BR /&gt;&lt;BR /&gt;If that doesn't help, then try&lt;BR /&gt;&lt;BR /&gt;$ REPLY/ENABLE=SECURITY&lt;BR /&gt;$ SET AUDIT/ALARM/ENABLE=PRIVILEGE=SUCCESS=ALL&lt;BR /&gt;&lt;BR /&gt;  now issue your SPAWN from the SYSPRV account and see what SYSPRV is used for. It should also tell you if the NOPRIV is from the parent or the subprocess.&lt;BR /&gt;&lt;BR /&gt;Don't forget&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/ALARM/DISABLE=PRIVILEGE=SUCCESS=ALL&lt;BR /&gt;&lt;BR /&gt;to quiet things down.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2005 20:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672569#M72732</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-11-16T20:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672570#M72733</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;What is the definition of &lt;BR /&gt;&lt;BR /&gt;$ show log lnm$temporary_mailbox /table=*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(should be LNM$JOB)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Nov 2005 05:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672570#M72733</guid>
      <dc:creator>faris_3</dc:creator>
      <dc:date>2005-11-17T05:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672571#M72734</link>
      <description>The logical name LNM$TEMPORARY_MAILBOX may point to LNM$GROUP.&lt;BR /&gt;So on such a system the users need the GRPNAM privilege to use the Spawn command.&lt;BR /&gt;&lt;BR /&gt;Heinz</description>
      <pubDate>Sat, 19 Nov 2005 06:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672571#M72734</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2005-11-19T06:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672572#M72735</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As suggested by Homi, the assignment of the logical LNM$TEMPORARY_MAILBOX has been causing the problem.&lt;BR /&gt;&lt;BR /&gt;$ sho log LNM$TEMPORARY_MAILBOX /table=*                        &lt;BR /&gt;   "LNM$TEMPORARY_MAILBOX" = "LNM$SYSTEM" (LNM$SYSTEM_DIRECTORY)&lt;BR /&gt;1  "LNM$SYSTEM" = "LNM$SYSTEM_TABLE" (LNM$SYSTEM_DIRECTORY)     &lt;BR /&gt;&lt;BR /&gt;If I give the account the SYSNAM priv, the spawn command works...&lt;BR /&gt;After I redefined it to point to the job table, the unprivileged spawn worked.&lt;BR /&gt;&lt;BR /&gt;There are several other projects running on the "problem" node - one of them must have configured/coded the re-assignment of this logical without knowing the impact.&lt;BR /&gt;&lt;BR /&gt;However, can somebody tell me why this setting causes SPAWN to fail and the context i.e. parent process or sub-prcess context.&lt;BR /&gt;                                             Thanks,&lt;BR /&gt;&lt;BR /&gt;Petran.</description>
      <pubDate>Mon, 21 Nov 2005 03:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672572#M72735</guid>
      <dc:creator>Petran Bisschops</dc:creator>
      <dc:date>2005-11-21T03:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672573#M72736</link>
      <description>This is what the wizard says :&lt;BR /&gt;&lt;BR /&gt;Normally, LNM$TEMPORARY_MAILBOX specifies LNM$JOB, the job-wide logical&lt;BR /&gt;name table; thus, only processes in the same job as the process that first&lt;BR /&gt;creates the mailbox can use the logical name to access the temporary&lt;BR /&gt;mailbox.  If you want to use the temporary mailbox to enable communication&lt;BR /&gt;between processes in different jobs, you must redefine LNM$TEMPORARY_&lt;BR /&gt;MAILBOX in the process logical name directory table (LNM$PROCESS_&lt;BR /&gt;DIRECTORY), to specify a logical name table that those processes can&lt;BR /&gt;access.&lt;BR /&gt;&lt;BR /&gt;For instance, if you want to use the mailbox as a communication device for&lt;BR /&gt;processes in the same group, you must redefine LNM$TEMPORARY_MAILBOX to&lt;BR /&gt;specify LNM$GROUP, the group logical name table.  The following DCL command&lt;BR /&gt;assigns temporary mailbox logical names to the group logical name table:&lt;BR /&gt;&lt;BR /&gt;     $DEFINE/TABLE=LNM$PROCESS_DIRECTORY  LNM$TEMPORARY_MAILBOX  LNM$GROUP&lt;BR /&gt;&lt;BR /&gt;Because $QIOW is used for input and output rather than $QIO, both MAILS&lt;BR /&gt;and MAILR wait for I/O to complete before advancing to the next program&lt;BR /&gt;statement.&lt;BR /&gt;&lt;BR /&gt;Wim : of course you need access to these logical name tables. That's why sysnam helps. Or putting an acl on the table.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 21 Nov 2005 04:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672573#M72736</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-21T04:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672574#M72737</link>
      <description>&amp;gt; "LNM$TEMPORARY_MAILBOX" = "LNM$SYSTEM" (LNM$SYSTEM_DIRECTORY)&lt;BR /&gt;&lt;BR /&gt;Oh, great!!!&lt;BR /&gt;&lt;BR /&gt;I bet you have a process control system in a manufacturing area that needs to run with all privileges :-(</description>
      <pubDate>Mon, 21 Nov 2005 04:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672574#M72737</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-11-21T04:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672575#M72738</link>
      <description>An alternative would be to create a shared logical name table with appropritate ownership and protection and set LNM$TEMPORARY_MAILBOX to point to it.</description>
      <pubDate>Mon, 21 Nov 2005 05:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672575#M72738</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-11-21T05:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672576#M72739</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Uwe - your guess was spot on... In the old days, every project had it's own VAX and they could do whatever they wanted with the machine but in todays phylosophy of cutting costs etc. they have to share the hardware amongst different projects. If the projects are setup properly, assigning this logical to LNM$GROUP should suffice....&lt;BR /&gt;&lt;BR /&gt;Wim, I am/was aware of the existence and functionality of the logical LNM$TEMPORARY_MAILBOX - however I have trouble understandinghow the setting of this logical could lead to failure of the SPAWN command.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Petran.</description>
      <pubDate>Mon, 21 Nov 2005 05:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672576#M72739</guid>
      <dc:creator>Petran Bisschops</dc:creator>
      <dc:date>2005-11-21T05:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672577#M72740</link>
      <description>&amp;gt; however I have trouble understandinghow&lt;BR /&gt;&amp;gt; the setting of this logical could lead to&lt;BR /&gt;&amp;gt; failure of the SPAWN command&lt;BR /&gt;&lt;BR /&gt;On my system, I see a logical DCL$ATTACH_pidOfMasterProcess in LNM$JOB after the SPAWN command.</description>
      <pubDate>Mon, 21 Nov 2005 05:55:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672577#M72740</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-11-21T05:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672578#M72741</link>
      <description>&amp;gt;Wim, I am/was aware of the existence and &amp;gt;functionality of the logical &amp;gt;LNM$TEMPORARY_MAILBOX - however I have &amp;gt;trouble understandinghow the setting of &amp;gt;this logical could lead to failure of the &amp;gt;SPAWN command.&lt;BR /&gt;&lt;BR /&gt;DCL uses a temporary mailbox to communicate between the process and  the subprocess.</description>
      <pubDate>Mon, 21 Nov 2005 09:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672578#M72741</guid>
      <dc:creator>faris_3</dc:creator>
      <dc:date>2005-11-21T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Spawn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672579#M72742</link>
      <description>Petran,&lt;BR /&gt;&lt;BR /&gt;to put in in clear words:&lt;BR /&gt;&lt;BR /&gt;- The communication between a process and its (spawned) subprocess uses a temporary mailboxes&lt;BR /&gt;- Those processes "know" which mailbox to use by defining it in LNM$TEMPORARY_MAILBOX&lt;BR /&gt;- To define a logical name in a table you need WRITE access to that table&lt;BR /&gt;- SYSTEMwide or GROUPwide tables need SYSNAM or GROUPNAM privs to write to them.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Mon, 21 Nov 2005 10:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawn/m-p/3672579#M72742</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-11-21T10:14:05Z</dc:date>
    </item>
  </channel>
</rss>

