
Utilities in JRButils v2.20 Part B


netcopy.exe

Netcopy copies individual files or an entire directory tree from one
location to another, possibly on a different volume, or on a
different server. It preserves the following when copying files and
directories:

1.   All file information including the creation date, last
     update date and time, file attributes, and if possible,
     file ownership. If a file is being copied from one server
     to another, and the owner is not registered on the
     destination server, the owner becomes the username under
     which you are logged in on that server.

2.   All directory information including the creation date,
     directory attributes, and if possible, directory
     ownership. If a directory is being copied from one server
     to another, and the owner is not registered on the
     destination server, the owner becomes the username under
     which you are logged in on that server.

3.   Optionally, all directory trustee assignments, providing
     that the object to which the rights are granted, is
     registered on both the source and destination server.
     Trustee rights are automatically converted when copying
     from NW 2.x to NW 3.x or NW 4.x and vice versa.

4.   Optionally, all file trustee assignments, providing that
     (a) both the source and destination server are running NW
     3.x or NW 4.x, and (b) that the object to which the
     rights are granted is registered on both the source and
     destination servers.

5.   Optionally, all directory quotas if both the source and
     destination servers are running NW 3.x or NW 4.x.

6.   Optionally, all volume quotas, providing that both the
     source and destination servers are running NW 3.x or 4.x,
     and that the object to which each quota applies is
     registered on both the source and destination servers.

Netcopy copies DOS and Mac name space entries, and I believe it
copies OS/2 and NFS (with -t) correctly. It will attempt to
retain name space information for FTAM, but this has not been
tested. Other features include:

     An update option allows you to copy only those files which do not
     exist in the destination tree, or have more recent update dates.

     Quotas may be removed during copying and restored later. This is
     often useful when copying to a volume with a larger block size
     where each file is likely to have more space allocated.

     Quotas may be altered as they are copied.

     Checks that there is sufficient space available before copying
     a file.

     Can optionally ignore hidden files and directories.

     Can copy only those files with the archive bit set with optional
     resetting of the archive bit on the original and copy of the file.

     Can query whether or not to copy each file.

     Can disable the receipt of broadcasts while copying.


salvlist.exe

Lists the file name, size, owner, deletor and the date/time of
deletion individual files, for all deleted files in a single directory
or for all directories in a tree. The output may be sorted by any field,
and you may search for files with a particular name, files owned by a
given user, files deleted by a given user, by file size, and deletion
date and time. You may also request that only the number of deleted
files in each directory be displayed. Files may be recovered based on
any selection criteria, with automatic renaming if a file exists with
the same name.


getbal.exe

Getbal lists account balances (adjusted or unadjusted),
account holds or credit limits for a single user, each member
of a group, one or more users selected using wild cards, or
for a list of users in a file. The output may be sorted by
username, balance, or credit limit. It may be filtered e.g.
display all users with a balance of less than $10.00. Getbal
may be used in a login script to display the account balance
for each user as they log in. Getbal can also display the
default account balance and credit limit given to new users
(normally viewed via SYSCON's "Supervisor Options" - "Default
Account Balance/Restrictions").

setbal.exe

Setbal sets account balances or credit limits for a single
user, each member of a group, one or more users selected using
wild cards, or a list of users in a file. Both the account
balance and credit limit may be set to a specified value, or
they may be adjusted by a given amount (e.g. add $10 to each
member of group ABC). You may also set the account balance or
credit limit to the default value used when creating accounts,
as set under "Supervisor Options" - "Default Account
Balance/Restrictions" in SYSCON.


pqadd.exe

Pqadd makes one or more users or groups 'operators' or 'users'
of the specified print queue. You may specify multiple entities on
the command line, each of which may be a single user, one or
more users selected via wild cards (e.g. z*), a group, or a
list of usernames in a file. You may make a group object a
queue user or operator, or the individual members of the group
may be made queue users or operators. Pqadd may also add print
servers to queues.


pqdel.exe

pqdel deletes one or more 'operators' or 'users' from the
specified print queue. You may specify multiple entities on
the command line, each of which may be a single user, one or
more users selected via wild cards (e.g. z*), a group, or a
list of usernames in a file. You may delete a group object
from being a queue user or operator, or delete the individual
members of the group from being a queue user or operator.
Pqdel may also remove print servers from queues.

pqusers.exe

Lists the queue users, operators and/or print servers for one
or more queues on one or more file servers. Wild cards may be
used both in the queue name and the file server name. Any number
of file server names may be specified (e.g. tui,kea,weka/laser*)
or you may specify 'A' meaning all servers to which you are currently
attached. File server names preceded by '!' will be skipped.
The list of users, operators or print servers for each queue may
be sorted and you may limit the output to the total number of users or
operators for each queue. User or operator groups may be expanded
so that all user objects which are queue users or queue operators
are listed.

pqlist.exe

Lists the jobs in one or more queues on one or more file
servers. Wild cards may be used both in the queue name and the
file server name. Any number of file server names may be specified
(e.g. tui,kea,weka/laser*) or you may specify 'A' meaning all
servers to which you are currently attached. Files servers preceded
by '!' will be skipped. The default output gives the job number,
user, description or file name, size, date/time submitted and status
for each job, but you may design you own output selecting from 16
fields and choosing the size and order of each field.

pqdeljob.exe

Pqdeljob deletes one or more jobs from a print queue. You may
specify one or more job numbers on the command line, or '*'
meaning all jobs in the queue, or a range e.g. jobs 10-20. You
may also chose to have pqdeljob ask for confirmation before
deleting each job.


psadd.exe

Psadd makes one or more users 'operators' or 'users' of the
specified print server. You may specify multiple entities on
the command line, each of which may be a single user, one or
more users selected via wild cards (e.g. z*), a group, or a
list of usernames in a file. You may make a group object a
print server user or operator, or make the individual members
of the group print server users or operators.


psdel.exe

Psdel deletes one or more 'operators' or 'users' from the
specified print server. You may specify multiple entities on
the command line, each of which may be a single user, one or
more users selected via wild cards (e.g. z*), a group, or a
list of usernames in a file. You may delete a group object
from being a print server user or operator, or delete the
individual members of the group from being a print server user
or operator.

psusers.exe

Psusers lists the print server users or operators for one or
more print servers on one or more file servers. Wild cards may
be used both in the print server name and the file server
name. Any number of file server names may be specified (e.g.
tui,kea,weka/laser*) or you may specify 'A' meaning all
servers to which you are currently attached. File servers preceded
by '!' will be skipped. The list of users or operators for each print
server may be sorted and you may limit the output to the total number
of users or operators for each print server.


mgradd.exe

Mgradd adds one or more users or groups to a user account
manager or to a work group manager. On the command line you
may specify multiple entities to become managed by the
nominated manager object (a user or a group). Each entity may
be a username (possibly containing wild cards), a group name
(possibly containing wild cards) or a file containing a list
of users or groups. When a group name is specified, either the
group object or the members of the group may become managed.
The manager may be made a work group manager if desired.


mgrdel.exe

Mgrdel removes one or more users or groups from a user account
manager or from a work group manager. On the command line you
may specify multiple entities to removed from management by
the nominated manager object (a user or a group). Each entity
may be a username (possibly containing wild cards), a group
name (possibly containing wild cards) or a file containing a
list of users or groups. When a group name is specified,
either the group object or the members of the group may become
unmanaged. The manager may be removed from being a work group
manager if desired.


mgrlist.exe

Mgrlist lists managers and their managed users. You may list
all objects managed by a nominated user or group, or list all
managed users on the server. Alternatively mgrlist will list
all work group managers and/or all user account managers on
the server. The output may be sorted by object name, or you
may limit output to the total only. Mgrlist detects user
account managers and work group managers that obtain this
status by being security equivalent to another work group
manager or user account manager.


usermgrs.exe

Usermgrs lists the managers of users or groups. You may list
the managers for a single user, multiple users selected via
wild cards, all members of a group, for one or more group
objects, or for a list of users and/or groups in a file. The
output may be sorted by object name, and there are various
output options.


setequiv.exe

Setequiv allows you to make one or more users security
equivalent to another from the command line. SYSCON will run
out of memory when you attempt to do this when there are
around 3,000 or more registered users. Setequiv can also check
for and restore the security of user accounts modified by
Wolfgang Schreiber's SUPER utility (NW 3.11 and earlier).


moveuser.exe

Copies users and groups from one server to another retaining all bindery
properties and their contents where possible, and copies the contents of
mail and home directories, retaining all attributes, trustees, quotas etc
as per NETCOPY. Quotas can be adjusted during the copy (for larger block
sizes on the dest volume), and groups can be substituted. Password may be
left NULL or set to the username. The home directory path may be altered
during copying  (e.g. from VOL1:USERS to USERS:ECON). Groups can be
created on the destination server as required when moving users who belong
to these groups on the source server. Ownership of files can be set to
the user regardless of original owner.

fsupdate.exe

Multi-server file maintenance utility. Copies individual files, files
selected via wild cards, or entire directory trees to multiple servers.
Useful for software updates. Can also delete or rename multiple files
across multiple servers. Can purge files upon deletion. Attempts to retain
all file attributes as per netcopy, and handles the same range of name
spaces. Has the usual range of options.


pqstatus.exe

Allows you to view and alter the status of multiple print queues across
multiple servers. Alterable values (these may be toggled or set to a
specific value) are (a) jobs can be submitted to the queue, (b) servers can
attach to the queue, and (c) servers can service the queue.

con_ops.exe

Allows you to add, delete and list console operators.


jrbmap.exe

(was to be called NETMAP but someone else has recently released a program
with this name). A replacement for Novell's MAP, primarily for use in
BAT files where it will map drives without fuss and piping in 'y's and
'n's. Can specify alternative paths so that in the event of one being
unavailable it will try the next (We use this for all applications at
Lincoln University so that in the event of an APPS volume failing, the
application will simply be retrieved from the corresponding volume on
another server). Can save existing mappings in the DOS master environment
and subsequently restore from there. Supports map root.


jrbpurge

Allows selective purging of files - has many the options of salvlist.
Supports purging by name, size, owner, deletor and deletion date and time.


lastlgn.exe

Can be used in a login script to display the user's previous login date
and time. This provides a useful indication of when the account was last
used. This may not work under NW 4.x. Lastlgn requires that each user
have a MISC_LOGIN_INFO property and it can be used to create these
and copy the previous login date and time from the LOGIN_CONTROL
property by a supervisor equivalent user or a manager. The last
login date and time in the LOGIN_CONTROL property is overwritten
with the current date/time by the login process, and so has been
changed by the time LOGIN begins executing the login script. LOGIN
does not update the date/time in the MISC_LOGIN_INFO property until
immediately prior to exit, thereby making the previous login time
available during execution of the login script.
