APSYSEC parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (→‎Description: add link)
m (add links)
 
Line 17: Line 17:
==Description==
==Description==
The <var>APSYSEC</var> parameter makes it possible for a system
The <var>APSYSEC</var> parameter makes it possible for a system
manager to <var>START</var>, <var>STOP</var>, <var>DEBUG</var>, or <var>TEST</var> any subsystem, without having to
manager to <var>[[START command: Starting an application subsystem|START]]</var>, <var>[[STOP command: Stopping an application subsystem|STOP]]</var>, <var>[[DEBUG command|DEBUG]]</var>, or <var>[[TEST command|TEST]]</var> any subsystem, without having to
add the system manager to the [[SCLASS]] authorized to do these things.
add the system manager to the [[SCLASS]] authorized to do these things.


Line 27: Line 27:
<td>System managers are allowed to <var>START</var>, <var>STOP</var>, <var>DEBUG</var>, or <var>TEST</var> any subsystem.
<td>System managers are allowed to <var>START</var>, <var>STOP</var>, <var>DEBUG</var>, or <var>TEST</var> any subsystem.
This saves the effort of adding a system manager to a privileged
This saves the effort of adding a system manager to a privileged
[[SCLASS]] in every subsystem in an Online so that the system manager could
SCLASS in every subsystem in an Online so that the system manager could
at least start and stop the subsystems &mdash; a common thing for system
at least start and stop the subsystems &mdash; a common thing for system
managers to need to do.
managers to need to do.

Latest revision as of 17:11, 30 November 2016

Sirius APSY security flags

Summary

Default value
X'00'
Parameter type
System
Where set
User 0 CCAIN parameters
Related products
Prior to Version 7.5 of Model 204, this parameter required the SirSafe product.
Introduced
Sirius Mods 6.7

Description

The APSYSEC parameter makes it possible for a system manager to START, STOP, DEBUG, or TEST any subsystem, without having to add the system manager to the SCLASS authorized to do these things.

For versions of Model 204 prior to 7.5, setting this parameter has no effect at sites not authorized for SirSafe.

The APSYSEC parameter is a bitmask parameter where the bits mean:

X'01' System managers are allowed to START, STOP, DEBUG, or TEST any subsystem.

This saves the effort of adding a system manager to a privileged SCLASS in every subsystem in an Online so that the system manager could at least start and stop the subsystems — a common thing for system managers to need to do.

In fact, if no users other than system managers need to start or stop subsystems, this can eliminate the need to even have sclasses in a subsystem to allow starting or stopping of the subsystem. In some cases, eliminating this need can reduce the subsystem definition to a single default sclass, which has performance benefits — no sclass lookup is required when a user enters a subsystem, and no sclass-specific compilations are done for the procedures in the subsystem.

Because of the overhead associated with multiple sclasses in a subsystem (not huge, but possibly measurable), some sites take the risk of adding START and STOP privileges (and perhaps TEST and DEBUG) to the one and only sclass for a subsystem. This, of course, means that any user can start and stop the subsystem, which might not be ideal from a control or security perspective.

The APSYSEC parameter allows such a site to keep one sclass but remove the risk. START and STOP privileges can be removed from the default/only sclass for a subsystem, and only system managers (or users running subsystems that give them system manager privileges) can start or stop subsystems.

To continue using Model 204's traditional fine-grained control of START, STOP, TEST, and DEBUG privileges, the APSYSEC X'01' bit should not be set.