
Information on the programs of the Nassau College Utility Package
-----------------------------------------------------------------


REMOTE:  Remote System Shutdown program


   REMOTE allows shutdown of the RSTS/E system to be initiated from any
keyboard.  It is especially useful if you want to allow a non-privileged
user to shut down the system, since REMOTE can operate with temporary
privileges (<252> is the suggested temporary privilege protection code).
REMOTE, when it runs, duplicates the SHUTUP dialogue, detaches, logs in
to the system library account [1,2], reattaches to KB0:, and executes the
SHUTUP program in that account, passing commands given by the user.  In
this manner, a non-privileged user can access a normally protected utility
and bring the RSTS/E system down.

   REMOTE also gives the user the option of postponing shutdown until a
given time.  The user can tell REMOTE at what time he wishes the system
to begin shutting down, and REMOTE will sleep until that time before
initiating shutdown.

   REMOTE expects that OPSER is running on the system.  If this is not
the case, simply edit REMOTE, deleting the lines up to the 'Minutes
until shutdown' query, and the OPSER related questions will be skipped.



ZERO:   Program to erase unallocated blocks of a disk


   Usually when files are deleted, their UFD links are simply deleted and
the blocks of the file become free blocks with the data still intact.  ZERO
opens a file on disk and writes nulls to it until it expands and takes up
all free blocks.  When ZERO is done, all unallocated blocks on the disk are
completely erased and security hazards resultant from stray data on disk are
eliminated.

   ZERO comes in two forms: a BASIC-PLUS source and a MACRO-11 source.  The task
image is build with BATCH.  The MACRO program runs considerably faster than the
BASIC-PLUS version, but without any options.  The MACRO version opens a
file ZERO00.TMP in the current account on the system disk with a clustersize
of 4.  Using the BASIC version, these options can be altered.  The MACRO
version, however, was developed to give the fastest operation possible for
system startup purposes.

   ZERO tends to slow down the system, so it should be run when the load
is light.

NOTE:  The MACRO version of ZERO requires the RSX Run-time System.  A BATCH
       control file (ZERBLD.CTL) is provided to build ZERO.TSK under the RSX
       RTS.  To build ZERO.TSK, simply type QUE BA:=[ppn]ZERBLD.CTL.  BATCH
       will take over and execute the commands necessary to build the task.
       See ZERBLD.CTL for details.


SCAN:   System Security Scanner


   SCAN is designed to scan any disk, looking for high (as defined by the
user) or unlimited quotas, accounts over quota, and files with temporary
privileges.  The user enters filename for the data and defines what a high
quota is.  SCAN then detaches (if the user so desires) and begins working.
SCAN produces three files which list all files with temporary privileges,
accounts with high or unlimited quotas, accounts over quota, and creates
a PIP indirect command file which removes temp privs from all files which
have them.  This indirect command file can be edited, removing from the
file all commands pertaining to files which should have temporary privileges,
and passed to PIP to do the renaming operation.

NOTE:  SCAN comes with a BATCH control file (SCAN.CTL) for scanning the
       system under BATCH control.

PROTEC: File Protecter


   PROTEC allows the privileged user to specify a file and mark it as
non-deletable.  This is done by writing into the UFD for the file's account
and changing the UFD status byte for the file.  PROTEC also allows the
user to remove non-deletable status from a given file.

   As is, PROTEC only works for files on the system disk (SY:).

CONVRT: EXTEND Mode Converter


   CONVRT is designed to convert a BASIC-PLUS program written in EXTEND
mode to standard EXTEND mode format.  All occurrences of <LF><CR><NULL>
are replaced with <SPACE>&<CR>.  CONVRT does not touch data preceding an
EXTEND statement or following a NOEXTEND statement.  For this feature of
CONVRT to work, EXTEND and NOEXTEND statements must have their own line.
CONVRT creates a .BAK file and a converted .BAS file.  When finished, CONVRT
prints the number of lines in the program and the number of lines that were
changed.

SQUISH:  Program Squisher


   Text files that have been APPENDed together often cause problems for
editors such as EDT.  When such files are appended, partially filled blocks
at the end of each file are not filled with the following file, rather, the
new file is just "glued" on the end of the preceeding one.  SQUISH takes such
a file and squeezes it together, filling partially used clusters and spanning
blocks.  A .BAK and .BAS file is created.

   SQUISH is only to be used on text files, since BASIC-PLUS files are 
automatically squished when they are REPLACEd.

PASSWD:  Password Changing Program


   PASSWD allows any user to change his password, provided he knows the current
password.  This feature is designed to prevent a user from sitting down at
an unattended terminal and changing the password.

   PASSWD also allows display of the new changed password, if the user so
desires.  The display is automatically blacked out after 2 seconds.

NULL:  Magtape Eraser


   NULL simply takes a magtape (MM0: currently) and writes zeros on it
to the end, rewinds it, writes three EOFs (a DOS zero), and rewinds the
tape.  NULL also tells the user if the tape has a physical end of tape.
NULL is the magtape version of ZERO and its purpose is to clean a magtape
of all data.

Suggested protection codes:

REMOTE:  <124>    or <252> for a non-privileged user
SCAN:    <124>
ZERO:    <124>
PROTEC:  <124>
CONVRT:  <104>
SQUISH:  <104>
PASSWD:  <232>
NULL:    <124>



[End NASPAC.TXT]
