<?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 Privileges needed for DCL SPAWN command? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249131#M99702</link>
    <description>I do not remember a process requiring any special privilege to use the DCL SPAWN command. I have a user account with the following summary from AUTHORIZE:&lt;BR /&gt;&lt;BR /&gt;Username: TEST                             Owner:  VMS Account for testing     &lt;BR /&gt;Account:                                   UIC:    [201,1] ([TEST_USERS,TEST])&lt;BR /&gt;CLI:      DCL                              Tables: DCLTABLES&lt;BR /&gt;Default:  USER_ROOT:[TEST_Users.test]&lt;BR /&gt;LGICMD:&lt;BR /&gt;Flags:  PwdMix&lt;BR /&gt;Primary days:   Mon Tue Wed Thu Fri&lt;BR /&gt;Secondary days:                     Sat Sun&lt;BR /&gt;No access restrictions&lt;BR /&gt;Expiration:            (none)    Pwdminimum:  6   Login Fails:     0&lt;BR /&gt;Pwdlifetime:           (none)    Pwdchange:      (pre-expired)&lt;BR /&gt;Last Login: 26-JUL-2010 12:14 (interactive), 23-JUL-2010 16:03 (non-interactive)&lt;BR /&gt;Maxjobs:         0  Fillm:       128  Bytlm:       800000&lt;BR /&gt;Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0&lt;BR /&gt;Maxdetach:       0  BIOlm:      1000  JTquota:       8192&lt;BR /&gt;Prclm:          20  DIOlm:      1000  WSdef:         4096&lt;BR /&gt;Prio:            4  ASTlm:       300  WSquo:         8192&lt;BR /&gt;Queprio:         4  TQElm:       100  WSextent:     16384&lt;BR /&gt;CPU:        (none)  Enqlm:      4000  Pgflquo:    2000000&lt;BR /&gt;Authorized Privileges:&lt;BR /&gt;  NETMBX       TMPMBX&lt;BR /&gt;Default Privileges:&lt;BR /&gt;  NETMBX       TMPMBX&lt;BR /&gt;Identifier                         Value           Attributes&lt;BR /&gt;  IQWARE_USER                      %X80010014&lt;BR /&gt;&lt;BR /&gt;When I login using this user's account, I get the following error message when attempting to use the DCL SPAWN command in its simplest form:&lt;BR /&gt;&lt;BR /&gt;$ set host 0&lt;BR /&gt;&lt;BR /&gt; Welcome to IQware's ES45 Development System #1 OpenVMS (TM) Alpha Operating System, Version V8.3&lt;BR /&gt;&lt;BR /&gt;Username: TEST&lt;BR /&gt;Password:&lt;BR /&gt;   Welcome to OpenVMS (TM) Alpha Operating System, Version V8.3 on node IQDEV1&lt;BR /&gt;    Last interactive login on Monday, 26-JUL-2010 12:31:28.96&lt;BR /&gt;    Last non-interactive login on Friday, 23-JUL-2010 16:03:20.44&lt;BR /&gt;        1 failure since last successful login&lt;BR /&gt;&lt;BR /&gt;$ SPAWN&lt;BR /&gt;%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation&lt;BR /&gt;$ logout&lt;BR /&gt;  TEST         logged out at 26-JUL-2010 13:01:21.79&lt;BR /&gt;%REM-S-END, control returned to node LOCAL:.IQDEV1::&lt;BR /&gt;&lt;BR /&gt;Is there a new privilege needed for a process to use the SPAWN command?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any wisdom,&lt;BR /&gt;&lt;BR /&gt;Eric</description>
    <pubDate>Mon, 26 Jul 2010 16:08:31 GMT</pubDate>
    <dc:creator>Eric W. Robertson</dc:creator>
    <dc:date>2010-07-26T16:08:31Z</dc:date>
    <item>
      <title>Privileges needed for DCL SPAWN command?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249131#M99702</link>
      <description>I do not remember a process requiring any special privilege to use the DCL SPAWN command. I have a user account with the following summary from AUTHORIZE:&lt;BR /&gt;&lt;BR /&gt;Username: TEST                             Owner:  VMS Account for testing     &lt;BR /&gt;Account:                                   UIC:    [201,1] ([TEST_USERS,TEST])&lt;BR /&gt;CLI:      DCL                              Tables: DCLTABLES&lt;BR /&gt;Default:  USER_ROOT:[TEST_Users.test]&lt;BR /&gt;LGICMD:&lt;BR /&gt;Flags:  PwdMix&lt;BR /&gt;Primary days:   Mon Tue Wed Thu Fri&lt;BR /&gt;Secondary days:                     Sat Sun&lt;BR /&gt;No access restrictions&lt;BR /&gt;Expiration:            (none)    Pwdminimum:  6   Login Fails:     0&lt;BR /&gt;Pwdlifetime:           (none)    Pwdchange:      (pre-expired)&lt;BR /&gt;Last Login: 26-JUL-2010 12:14 (interactive), 23-JUL-2010 16:03 (non-interactive)&lt;BR /&gt;Maxjobs:         0  Fillm:       128  Bytlm:       800000&lt;BR /&gt;Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0&lt;BR /&gt;Maxdetach:       0  BIOlm:      1000  JTquota:       8192&lt;BR /&gt;Prclm:          20  DIOlm:      1000  WSdef:         4096&lt;BR /&gt;Prio:            4  ASTlm:       300  WSquo:         8192&lt;BR /&gt;Queprio:         4  TQElm:       100  WSextent:     16384&lt;BR /&gt;CPU:        (none)  Enqlm:      4000  Pgflquo:    2000000&lt;BR /&gt;Authorized Privileges:&lt;BR /&gt;  NETMBX       TMPMBX&lt;BR /&gt;Default Privileges:&lt;BR /&gt;  NETMBX       TMPMBX&lt;BR /&gt;Identifier                         Value           Attributes&lt;BR /&gt;  IQWARE_USER                      %X80010014&lt;BR /&gt;&lt;BR /&gt;When I login using this user's account, I get the following error message when attempting to use the DCL SPAWN command in its simplest form:&lt;BR /&gt;&lt;BR /&gt;$ set host 0&lt;BR /&gt;&lt;BR /&gt; Welcome to IQware's ES45 Development System #1 OpenVMS (TM) Alpha Operating System, Version V8.3&lt;BR /&gt;&lt;BR /&gt;Username: TEST&lt;BR /&gt;Password:&lt;BR /&gt;   Welcome to OpenVMS (TM) Alpha Operating System, Version V8.3 on node IQDEV1&lt;BR /&gt;    Last interactive login on Monday, 26-JUL-2010 12:31:28.96&lt;BR /&gt;    Last non-interactive login on Friday, 23-JUL-2010 16:03:20.44&lt;BR /&gt;        1 failure since last successful login&lt;BR /&gt;&lt;BR /&gt;$ SPAWN&lt;BR /&gt;%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation&lt;BR /&gt;$ logout&lt;BR /&gt;  TEST         logged out at 26-JUL-2010 13:01:21.79&lt;BR /&gt;%REM-S-END, control returned to node LOCAL:.IQDEV1::&lt;BR /&gt;&lt;BR /&gt;Is there a new privilege needed for a process to use the SPAWN command?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any wisdom,&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 26 Jul 2010 16:08:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249131#M99702</guid>
      <dc:creator>Eric W. Robertson</dc:creator>
      <dc:date>2010-07-26T16:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Privileges needed for DCL SPAWN command?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249132#M99703</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I do not remember a process requiring any&lt;BR /&gt;&amp;gt; special privilege to use the DCL SPAWN&lt;BR /&gt;&amp;gt; command.&lt;BR /&gt;&lt;BR /&gt;That may be because none is needed.&lt;BR /&gt;&lt;BR /&gt;alp $ show proc /priv&lt;BR /&gt;&lt;BR /&gt;26-JUL-2010 12:13:43.25   User: SMS              Process ID:   20208D7F&lt;BR /&gt;                          Node: ALP              Process name: "SMS_1618"&lt;BR /&gt;&lt;BR /&gt;Authorized privileges:&lt;BR /&gt; NETMBX       TMPMBX&lt;BR /&gt;&lt;BR /&gt;Process privileges:&lt;BR /&gt; NETMBX               may create network device&lt;BR /&gt; TMPMBX               may create temporary mailbox&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;alp $ spawn&lt;BR /&gt;%DCL-S-SPAWNED, process SMS_12749 spawned&lt;BR /&gt;%DCL-S-ATTACHED, terminal now attached to process SMS_12749&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ SPAWN&lt;BR /&gt;&lt;BR /&gt;      show symbol spawn&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there a new privilege needed [...]&lt;BR /&gt;&lt;BR /&gt;Define "new".&lt;BR /&gt;&lt;BR /&gt;alp $ write sys$output f$getsyi( "version")&lt;BR /&gt;V8.3&lt;BR /&gt;&lt;BR /&gt;I know nothing, but I can imagine that the&lt;BR /&gt;protections could have been damaged on some&lt;BR /&gt;program or other file, or that something&lt;BR /&gt;which needs to be INSTALLed with privileges&lt;BR /&gt;wasn't.</description>
      <pubDate>Mon, 26 Jul 2010 16:20:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249132#M99703</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-26T16:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Privileges needed for DCL SPAWN command?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249133#M99704</link>
      <description>&lt;BR /&gt;The important controls for 'spawn' are the CAPTIVE and RESTRICTED flags in the authorization record. Neither is in play it seems.&lt;BR /&gt;&lt;BR /&gt;And one needs TMPMBX, which is there in authorize. Is it still there after (sy)login?&lt;BR /&gt;Do a SHOW PROC/PRIV  !?&lt;BR /&gt;&lt;BR /&gt;Is the SPAWN command clean?&lt;BR /&gt;No symbol defined for it?&lt;BR /&gt;&lt;BR /&gt;My WAG is a bad definition for the logical name: LNM$TEMPORARY_MAILBOX&lt;BR /&gt;&lt;BR /&gt;See: &lt;A href="http://h71000.www7.hp.com/doc/84final/4527/4527pro_024.html#jun_143" target="_blank"&gt;http://h71000.www7.hp.com/doc/84final/4527/4527pro_024.html#jun_143&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If the problem persists, then it would not hurt to check the LIB$SPAWN doc for clues:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/5932/5932pro_045.html#spawn" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/5932/5932pro_045.html#spawn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I'd use SET WATCH /CLA=MAJOR to see if the spawn is trying to touch a file it can not.... but that needs CMKRNL.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jul 2010 16:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249133#M99704</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-07-26T16:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Privileges needed for DCL SPAWN command?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249134#M99705</link>
      <description>Eric,&lt;BR /&gt;&lt;BR /&gt;  You should only need TMPMBX to create the temporary mailbox your process uses to talk to the subprocess, but check:&lt;BR /&gt;&lt;BR /&gt;$ show log/table=*directory* lnm$temp*&lt;BR /&gt;&lt;BR /&gt;  The default is: &lt;BR /&gt;&lt;BR /&gt;(LNM$SYSTEM_DIRECTORY)&lt;BR /&gt;  "LNM$TEMPORARY_MAILBOX" = "LNM$JOB"&lt;BR /&gt;&lt;BR /&gt;  but if redefined anywhere else, you will need privilege to write into the target logical name table. You can force it back with:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$TEMPORARY_MAILBOX LNM$JOB&lt;BR /&gt;&lt;BR /&gt;  If that doesn't help, use auditing.&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;Warning - this might be noisy. Maybe have a disable command typed and ready to hit ENTER on another terminal:&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/ALARM /DISABLE=PRIVILEGE=FAILURE=ALL</description>
      <pubDate>Mon, 26 Jul 2010 21:05:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249134#M99705</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-07-26T21:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Privileges needed for DCL SPAWN command?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249135#M99706</link>
      <description>Thanks guys. It turned out that we had changed the definition for the logical name table for temporary mailboxes for this account so that it could communicate with other processes in the same group using VMS mailboxes. But, it did not have privilege to write to the LNM$GROUP table when creating the mailbox which is why spawn was returning NOPRIV.&lt;BR /&gt;&lt;BR /&gt;Thanks for the clues!</description>
      <pubDate>Wed, 28 Jul 2010 19:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249135#M99706</guid>
      <dc:creator>Eric W. Robertson</dc:creator>
      <dc:date>2010-07-28T19:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Privileges needed for DCL SPAWN command?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249136#M99707</link>
      <description>This thread is now closed.</description>
      <pubDate>Wed, 28 Jul 2010 19:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/privileges-needed-for-dcl-spawn-command/m-p/5249136#M99707</guid>
      <dc:creator>Eric W. Robertson</dc:creator>
      <dc:date>2010-07-28T19:58:14Z</dc:date>
    </item>
  </channel>
</rss>

