


Secure Design's Utilities         V1.22


This is utility package is shareware.  Please register your copy.
(see ORDER.FRM for details)


This utility package is a set of small programs that we have
written in the last several years to assist in managing a Novell
network.  The remainder of this document describes the uses of
these utilities, and some suggested uses for a few of the programs.

If you have any suggestions for new utilities or improvements
of the existing ones, please feel free to contact us at the following
address.  E-Mail is preferred however we will try to answer each
request or suggestion.  Although we can not promise to use every
suggestion you may make, we will keep all suggestions and review
them when making changes to the programs.

Secure Design can be contacted at the following address:

   Secure Design                E-mail: support@sdesign.com
   PO Box 475                   Phone:  (503) 752-5988         
   Corvallis, OR 97339  USA     Fax:    (503) 752-5990
                                

For ordering information, see the file ORDER.FRM.




Below is a list of utilities provided in this package allong with
a brief description of each.

   *  CDMAIL.EXE     Change to a user's SYS:MAIL\ directory.
   *  DOT.EXE        Toggel the workstation shell flag for . and ..
   *  GONE.EXE       Lock a workstation terminal with password.
   *  MPASSWD.EXE    Change password for many users.
   *  NWPAGER.EXE    Dial pager numbers when a server fails.
   *  NWPING.EXE     Ping a file server with IPX.
   *  PASSWD.EXE     Change your password from the command line.
   *  Q2FILE.EXE     Copy a print job's data to a file.
   *  QCHECK.EXE     Check status of a print queue.
   *  QJOBDEL.EXE    Remove print jobs from a queue.
   *  QLIST.EXE      List print jobs in a queue.
   *  RANDOM.EXE     Generate Random numbers.
   *  SCHECK.EXE     Check login status of a server.
   *  SYNCTIME.EXE   Set server clock from workstation.


The remainder or this document contains a description of each program
and some sample uses.  An evaluation copy of these utilities is provided
on a trial basis for 60 days.  This is designed to give you 30 days
decide on the purchase of this software, and 30 das to obtain a licensed
copy.

 

--------------------------------------------------------------------------
CDMAIL.EXE     Change to a user's SYS:MAIL\ directory.


Usage:   CDMAIL [UserName]

Example: CDMAIL herzogs


This will change to the current user's or the specified user's mail
directory. (SYS:MAIL\123489)  If the current drive is not mapped to
a SYS: volume, an error is reported.  If the username is not used,
the current login name will be used.



--------------------------------------------------------------------------
GONE.EXE       Lock a workstation terminal with password


Usage:   GONE [message]

Example: GONE to lunch

This program locks the workstation and requests a password for the
current file server.

--------------------------------------------------------------------------
DOT.EXE        Toggel the . and .. directory entries


Usage:   DOT [ON|OFF]

Example: DOT ON


This program turns the . and .. directory entries on when doing a
directory listing.  

--------------------------------------------------------------------------
MPASSWD.EXE    Sets the user password for many accounts at once.


Usage:   MPASSWD <USER*> 

Example: MPASSWD IBM_USER_*

MPasswd will prompt the user for a new password and then will scan
the server for any user matching the USER-Wildcard specified at the
command line. Each user's password will be changed to the same
as entered at the prompt.  This is useful for setting a group of lab
workstations to the same password.


--------------------------------------------------------------------------
NWPAGER.EXE    Dial pager numbers when a server fails.


Usage:   NWPAGER <file> [com] [baud]

Example: NWPAGER addr.tab 1 1200

NwPager is a program that will dial a modem string for you when a file
server fails to respond.   The format of each line in the address file
is as follows:

  SERVERNAME 70160000:000000000001 ATDT 7371517

The first entry is the File Server name.  The next is the network and
node address of the server.  (any valid net address is ok; you can check
print servers or workstations too.)  the remainder of the line is treated
as a dial string for the modem.

[COM] refers to the com port to use. Valid options are 1 and 2

[BAUD] sets the baud speed.  Valid options are 300, 1200, 2400, and 9600


To use nwpager, create a batch file that will run NWPager over and over
again.  You can alternatly have other programs run in this batch as well.
Secure Design has a product called QView Pro that can monitor print queues
on a Novell network.  This program can also be set to exit every few
minutes and run another batch file.  Using QView Pro and NWPager together
works very well.


--------------------------------------------------------------------------
NWPING.EXE     Ping a file server.


Usage:   NWPING [ServerName]
         NWPING -a [Network] [Node]

Example: NWPING ADMINSERVER
         NWPING -a 70160000 000012004567

NwPing will query to see if a server is responding on a network.  NWPing
will exit with a non-zero errorlevel if no response is found.

--------------------------------------------------------------------------
PASSWD.EXE     Change a user password

Usage:  PASSWD

Passwd will prompt the user for the old password, new password and retype
the new password.  

--------------------------------------------------------------------------
Q2FILE.EXE     Save a print queue job to a file.

Usage:   Q2FILE <QueueName> <ServerName> <JobNumber> <FileName>

Example: Q2FILE LASER_QUEUE ADMINSERVER 123 C:\PRINT.DAT

Q2File will save the print job data from a print queue job to a
dos file.  The user must be a supervisor or have directory access to
the server's spool directories. (Usually located in SYS:SYSTEM)

--------------------------------------------------------------------------
QCHECK.EXE     Check status of a print queue.

Usage:   QCHECK <QueueName> [ServerName]

Example: QCHECK LASER_QUEUE ADMINSERVER

QCheck will report (with a dos errorlevel) the status of a Netware
print queue.  The following is a list of results.

  Errorlevel 0 if queue is working and on line.
  Errorlevel 1 if queue does not exist.
  Errorlevel 2 if server not attached.
  Errorlevel 3 if an error reading the queue occurred. (no Q_USER rights)
  Errorlevel 4 if users may not create job entries.
  Errorlevel 5 if no print servers are attached.
  Errorlevel 6 if print servers may not service jobs.


--------------------------------------------------------------------------
QJOBDEL.EXE    Remove print jobs from a queue.

Usage:   QJOBDEL <QueueName> <JobNumber> [ServerName]

Example: QJOBDEL LASER_QUEUE 234 ADMINSERVER

QJobDel will remove a print job from a netware queue.  The job number
may be replaced with a * to remove all jobs from the queue.

--------------------------------------------------------------------------
QLIST.EXE      List print jobs in a queue.

Usage:   QLIST <QueueName> [option 1] [option...]

Example: QLIST LASER_QUEUE /S=ADMINSERVER

QList will show the contents of a single print queue on the screen.  The
user may specify a starting job number or total number of jobs to list
to prevent scroll by.

Options:
          /S=ServerName   Show queue from server "ServerName"
          /B=1            Starting job number to show.  Default is 1.
          /N=15           Number of jobs to show.  (show 15 jobs)

--------------------------------------------------------------------------
RANDOM.EXE     Generate a random number.

Usage:   RANDOM <LowRange> <HiRange>

Example: RANDOM 1 10

Random.exe will generate a random DOS errorlevel such that the following
is true.
          LowRange <= (random number) <= HiRange

LowRange must be >= 0 and HiRange must be <= 255 and greater than LoRange

--------------------------------------------------------------------------
SCHECK.EXE     Check login status of a server.

Usage:   SCHECK <ServerName>

Example: SCHECK ADMINSERVER

Returns a DOS errorlevel of 0 if the workstation is currently logged into
the server.  An errorlevel of 1 is returned if the workstation is not
logged into the server

--------------------------------------------------------------------------
SYNCTIME.EXE   Set server clock from workstation.

Usage:   SYNCTIME

Example: SYNCTIME

When run, Synctime will set each of the attached servers to match the
current date and time of the workstation clock.  Users must be a console
operator or supervisor to change the time on a server.

--------------------------------------------------------------------------
