Establishing Passwords For A Data Set - IBM System 360 User Manual

Operating system: time sharing option terminal
Hide thumbs Also See for System 360:
Table of Contents

Advertisement

Establishing Passwords for a Data Set
Use the PROTECT command to establish passwords for your data set.
Passwords prevent unauthorized persons from reading (listing) or writing
(making changes to) your data set.
Whenever anyone attempts to use a
password-protected data set, the system requests a password unless the
data set is protected with the same password that was entered
in
the
logon procedure.
The system allows two chances to provide the correct
password.
If your terminal has the "print-inhibit" feature, the system
disengages the printing mechanism at your terminal while you enter the
password in response.
However, the "print-inhibit" feature is not used
if the prompting is for a new password you are adding to the data set.
The PROTECT command also specifies what the person who knows the
password can do to the dataset; that is, whether he is allowed to read
it, or write in it, or both.
You can require a password for both
reading and writing; or just for reading and not writing.
You can also
assign one password for reading and a different one for writing.
The
operands that control the type of operations are:
PWREAD -- you must specify a password before you can read from the data
set.
PWWRITE
you must specify a password before you can write in the data
set.
NOPWREAD
you can read from the data set without specifying a
password .•
NOWRITE -- you cannot write into the data set (with this password).
There are three valid combinations of operands:
PWREAD PWWRITE -- the password is required for either reading or writing
your data set.
PWREAD NOWRITE
the password is required for reading.
Writing is not
allowed with this password.
NOPWREAD PWWRITE -- you can read without a password.
The password
allows you to both read and write the data set.
If you specify only one operand you get tWOlva1ues by default.
They
are:
operand
PWREAD
NOPWREAD
PWWRITE
'NOWRITE
Default Values
PWREAD PWWRITE
NOPWREAD PWWRITE
NOPWRFAD PWWRITE
'PWREAD NOWRITE
The type of password operand, the number of times the password is
used, and optional security information that you can specify are
recorded in the PASSWORD data set of the operating system.
The following example adds the password HUSH for reading and writing
the BROWN. SECRET. DATA data set:
READY
protect secret add (hush) pwread
RFADY
Entering and Manipulating Data
57

Advertisement

Table of Contents
loading

Table of Contents