| Previous | Contents | Index |
This chapter lists the commands available for traditional DCL-style control of LJK/Security.
Although all LJK/Security functions can be controlled through this command interface, a more visually oriented interface is preferable for day-to-day interaction with the software. For the special cases of control from a batch job or command procedure, however, the command interface described in this chapter is necessary.
5.1 Command Summary
LJK/Security commands can be divided into three basic groups:
In a situation where the command interface is to be used, there are two distinct methods for using it.
In the command descriptions shown in the following pages both the DCL Command Format and the Subsystem Command Format are shown.
An additional format is shown for the HELP command, since help information about LJK/Security is stored in the main HELP library and can therefore be accessed by the DCL HELP command.
While LJK/Security returns meaningful status to DCL, the code may have the INHIB_MSG bit set or it may be clear. Those who write command procedures handling the status returned by LJK/Security should always discount that bit before making comparisons.
Policy and assessment names selected by the user can be a maximum of 39 characters long and can contain only valid VMS filename characters (A-Z, a-z, 0-9, $, _, and -). Handing is not case-sensitive; "A" is equivalent to "a".
Although LJK/Security can use ODS-5 disks on Alpha, restrictions on LJK/Security Policy and assessment names are still those for ODS-2 to provide for compatibility between master and tributary nodes regardless of configuration. In addition, those names cannot contain a dollar sign. |
Cluster alias node names may not be used to specify node names to LJK/Security. Results are unpredictable if this is done. |
The privileges required to invoke LJK/Security depend on what version of VMS is running. On versions of VMS which do not support facility-specific identifiers (those prior to VAX VMS V6.0), the SECURITY privilege is required to invoke LJK/Security commands.
The SECURITY privilege is also required on versions of VMS which nominally support facility-specific identifiers when a particular system does not contains a Rights Database (RIGHTSLIST.DAT).
5.4.1 Facility-specific identifiers
Through the use of facility-specific identifiers, individual
LJK/Security users can be authorized to use specific features of the
product but not other features.
LJK/Security-specific identifiers are automatically added to the Rights Database on LJK/Security Startup if they are not already present from a previous startup.
5.5 Forcing Use of the Command Interface
The DCL command to run LJK/Security in Subsystem Command Format is:
LJK/SECURITY |
Under normal circumstance, LJK/Security will use the most "advanced" interface possible for the current command device. To force the use of another interface, you can disable the selection of particular non-command interfaces through the use of individual qualifiers:
$ LJKCMD == "LJK/SECURITY /INTERFACE=CHARACTER_CELL/NOSMG" |
5.6.1 Preparing the Default Policy and Default Assessment
$ LJK/SECURITY CREATE POLICY DEFAULT |
$ LJK/SECURITY MODIFY POLICY DEFAULT/EXEMPTION=(*,SYSTEM) - /TEST=(UAF,PRIVLEVEL,ABSOLUTHI)/VALUE="Category-All" |
$ LJK/SECURITY CREATE ASSESSMENT DEFAULT |
$ LJK/SECURITY MODIFY ASSESSMENT DEFAULT/NODE=mynode |
$ LJK/SECURITY MODIFY ASSESSMENT DEFAULT/NODE=* |
Tremendous numbers of violation reports can be generated by the DISK
facility, so as a brand new user of LJK/Security you
will likely have an easier time devising your initial policies if you
start with the DISK facility disabled. Enable the DISK
facility again after you are happy with results from
the rest of your policy.
5.6.2 Running the Default Assessment
$ LJK/SECURITY RUN DEFAULT |
$ LJK/SECURITY REPORT DEFAULT/STATUS |
$ LJK/SECURITY REPORT DEFAULT |
Node BIGVAX
Username SMITH
has maximum queueing priority of 0
which is lower than minimum of 200
Node BIGVAX
Username JONES
has disable mail notification flag
Node BIGVAX
Username DBM$REMOTE
has disable mail delivery flag
|
The following pages in this chapter contains full documentation of individual commands available in the Command Interface.
Cancel future collection of security data from remote nodes.
$ LJK/SECURITY CANCEL -
assessment-name
orLJKSÑ CANCEL -
assessment-name
| Command Qualifiers | Defaults |
|---|---|
| None. | None. |
assessment-name
Name of the assessment.
Cancel the future scheduled collection of security data from tributary nodes for a particular assessment.This does not affect any current collection of the specified assessment. That is accomplished with the STOP command.
None.
$ LJK/SECURITY CANCEL MY_SPECIAL
|
Cancel future collection of assessment MY_SPECIAL from remote nodes.
Create a new assessment.
$ LJK/SECURITY CREATE ASSESSMENT -
assessment-name
orLJKSÑ CREATE ASSESSMENT -
assessment-name
| Command Qualifiers | Defaults |
|---|---|
| /[NO]AUDIT | /NOAUDIT |
| /[NO]DEFAULT | /DEFAULT |
| /[NO]LOG | /NOLOG |
assessment-name
Name of the assessment to be created.As described in Section H.8, DCL Symbol Processing, DCL symbol substitution may be used for this parameter, even when using the Subsystem Command Format.
Creates a new assessment with initial entries optionally taken from the assessment named DEFAULT (if there is any).
/AUDIT (D)
/NOAUDIT
Specifies that the contents of assessment records automatically created should be displayed, including audit information./DEFAULT (D)
/NODEFAULT
Specifies that the contents of the assessment named DEFAULT are to be used for the initial contents of the assessment being created./LOG
/NOLOG (D)
Specifies that the contents of assessment records automatically created should be displayed.
$ LJK/SECURITY CREATE ASSESSMENT MY_ASSESSMENT
|
Create an assessment.
$ LJK/SECURITY CREATE ASSESSMENT MY_ASSESSMENT/NODEFAULT
|
Create an assessment with no copying of the contents of the assessment named DEFAULT.
Create a new policy with default limits and possibly default disables and exemptions.
$ LJK/SECURITY CREATE POLICY -
policy-name
orLJKSÑ CREATE POLICY -
policy-name
| Command Qualifiers | Defaults |
|---|---|
| /[NO]AUDIT | /NOAUDIT |
| /[NO]DEFAULT | /DEFAULT |
| /[NO]DISABLE | /NODISABLE |
| /[NO]EXEMPTIONS | /NOEXEMPTIONS |
| /[NO]LOG | /NOLOG |
policy-name
Name of the policy to be created.As described in Section H.8, DCL Symbol Processing, DCL symbol substitution may be used for this parameter, even when using the Subsystem Command Format.
Creates a new policy with limits and exemptions taken:
- Optionally from the policy named DEFAULT (if there is one) or else:
- from program defaults for LJK/Security listed in Chapter 6,LJK/Security Tests.
/AUDIT (D)
/NOAUDIT
Specifies that the contents of policy records automatically created should be displayed, including audit information./DEFAULT (D)
/NODEFAULT
Specifies that the contents of the policy named DEFAULT are to be used for the initial contents of the policy being created./DISABLES
/NODISABLES (D)
Specifies that any disables in the policy named DEFAULT be copied to the policy being created. By default, disables are not copied./EXEMPTIONS
/NOEXEMPTIONS (D)
Specifies that any exemptions in the policy named DEFAULT be copied to the policy being created. By default, exemptions are not copied./LOG
/NOLOG (D)
Specifies that the contents of policy records automatically created should be displayed.
$ LJK/SECURITY CREATE POLICY MY_POLICY
|
Create a policy with no exemptions.
$ LJK/SECURITY CREATE POLICY MY_POLICY/EXEMPTIONS
|
Create a policy with exemptions.
| Previous | Next | Contents | Index |