Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Turning off spawning in V1.5.
@ 1994-12-28 16:06 munroe
  1994-12-28 17:52 ` Carl J Lydick
  1994-12-28 22:33 ` Mark H. Wood
  0 siblings, 2 replies; 6+ messages in thread
From: munroe @ 1994-12-28 16:06 UTC (permalink / raw)


OpenVMS/AXP 1.5 ignores the UAF setting for PRCLM in favor of the sysgen
parameter PQL_MPRCLM.  If I reduce the sysgen parameter to 0, I get the right
effect wrt to authorize, but Motif won't start.  In other words, if
PQL_MPRCLM=10 and authorize for a user FOO has prclm set to 0, when user FOO
logs in, the prclm is 10, NOT 0.

How do I turn off the capability for a user to use the SPAWN DCL command and
LIB$SPAWN RTL routine on a case by case basis and lets me start motif?

Or is this a bug in 1.5?
-- 
Dick Munroe				Internet: munroe@dmc.com
Acorn Software, Inc.           		UUCP: ...uunet!thehulk!munroe
267 Cox St.				Office: (508) 568-1618
Hudson, Ma. 01749 USA			FAX: (508) 562-1133


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turning off spawning in V1.5.
  1994-12-28 16:06 Turning off spawning in V1.5 munroe
@ 1994-12-28 17:52 ` Carl J Lydick
  1994-12-28 18:06   ` Carl J Lydick
  1994-12-28 22:33 ` Mark H. Wood
  1 sibling, 1 reply; 6+ messages in thread
From: Carl J Lydick @ 1994-12-28 17:52 UTC (permalink / raw)


In article <1994Dec28.120617.104@thehulk>, munroe@dmc.com writes:
=OpenVMS/AXP 1.5 ignores the UAF setting for PRCLM in favor of the sysgen
=parameter PQL_MPRCLM.

ANY version of VMS should do that.  That SYSGEN parameter specifies the minimum 
value for PRCLM for any process created.

=If I reduce the sysgen parameter to 0, I get the right
=effect wrt to authorize, but Motif won't start.  In other words, if
=PQL_MPRCLM=10 and authorize for a user FOO has prclm set to 0, when user FOO
=logs in, the prclm is 10, NOT 0.

=How do I turn off the capability for a user to use the SPAWN DCL command and
=LIB$SPAWN RTL routine on a case by case basis and lets me start motif?

Don't give the users in question TMPMBX priv.  This will prevent them from
spawning subprocesses.  It will, unfortunately, also prevent them from creating
temporary mailboxes for other purposes.

PQL_MPRCLM is a dynamic SYSGEN parameter.  Hence, you could have it set to 10
in your CURRENT parameter database, and have your startup procedure set it to 0
in the ACTIVE parameter database after MOTIF is started.

I don't know whether the latter would fix your problem; that would depend on
whether when someone logs in using MOTIF, their job spawns subprocesses.
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turning off spawning in V1.5.
  1994-12-28 17:52 ` Carl J Lydick
@ 1994-12-28 18:06   ` Carl J Lydick
  0 siblings, 0 replies; 6+ messages in thread
From: Carl J Lydick @ 1994-12-28 18:06 UTC (permalink / raw)


In article <3ds8lp$67n@gap.cco.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes:
=In article <1994Dec28.120617.104@thehulk>, munroe@dmc.com writes:
==OpenVMS/AXP 1.5 ignores the UAF setting for PRCLM in favor of the sysgen
==parameter PQL_MPRCLM.
=
=ANY version of VMS should do that.  That SYSGEN parameter specifies the minimum 
=value for PRCLM for any process created.
                         ^^^^^^^
Sorry, that should be job, not process.
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turning off spawning in V1.5.
  1994-12-28 16:06 Turning off spawning in V1.5 munroe
  1994-12-28 17:52 ` Carl J Lydick
@ 1994-12-28 22:33 ` Mark H. Wood
  1994-12-30 16:09   ` Mark Jilson
  1 sibling, 1 reply; 6+ messages in thread
From: Mark H. Wood @ 1994-12-28 22:33 UTC (permalink / raw)


In article <1994Dec28.120617.104@thehulk>, munroe@dmc.com writes:
> OpenVMS/AXP 1.5 ignores the UAF setting for PRCLM in favor of the sysgen
> parameter PQL_MPRCLM.  If I reduce the sysgen parameter to 0, I get the right
> effect wrt to authorize, but Motif won't start.  In other words, if
> PQL_MPRCLM=10 and authorize for a user FOO has prclm set to 0, when user FOO
> logs in, the prclm is 10, NOT 0.

Yup.  You told VMS that nobody should have a PRCLM lower than 10. 
(MinimumPRCLM).  This is the defined behavior for PQL minima.

> How do I turn off the capability for a user to use the SPAWN DCL command and
> LIB$SPAWN RTL routine on a case by case basis and lets me start motif?

Try using PQL_DPRCLM instead?  Or there may be a symbol in the huge cloud of
Motif startup files that will give only Motif a given PRCLM.
-- 
Mark H. Wood, Lead Systems Programmer    +1 317 274 0749   [@disclaimer@]
Internet:  MWOOD@INDYVAX.IUPUI.EDU       BITNET:  MWOOD@INDYVAX
My other computer is a { VMS | Linux } system.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turning off spawning in V1.5.
  1994-12-28 22:33 ` Mark H. Wood
@ 1994-12-30 16:09   ` Mark Jilson
  1994-12-30 17:06     ` Mark Jilson
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Jilson @ 1994-12-30 16:09 UTC (permalink / raw)



PQL_MPRCLM seems to be hardcoded in these files in SYS$MANAGER
DECW$CHECK_PARAMS.COM & DECW$AUTOGEN.COM .

You should escalate this to the appropiate support team as an unappropiate
requirement .

-- 
Mark D. Jilson  - Digital Customer Support Center
                  Colorado Springs, Colorado


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turning off spawning in V1.5.
  1994-12-30 16:09   ` Mark Jilson
@ 1994-12-30 17:06     ` Mark Jilson
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Jilson @ 1994-12-30 17:06 UTC (permalink / raw)



A workaround to this would be to make sure the parameters are correct
and the define DECW$IGNORE_AUTOGEN and set PQL_MPRCLM
to 0 and make sure all Motif users have PRCLM set to 10 in their UAF
record.

-- 
Mark D. Jilson  - Digital Customer Support Center
                  Colorado Springs, Colorado


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1994-12-30 17:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-28 16:06 Turning off spawning in V1.5 munroe
1994-12-28 17:52 ` Carl J Lydick
1994-12-28 18:06   ` Carl J Lydick
1994-12-28 22:33 ` Mark H. Wood
1994-12-30 16:09   ` Mark Jilson
1994-12-30 17:06     ` Mark Jilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox