Technical data
Managing User Accounts
7.5 Preparing to Add User Accounts
Assign accounts the same group number if their owners perform similar work,
access the same files frequently, or use many of the same logical names. See
the OpenVMS Guide to System Security for a detailed discussion of the user
identification code.
Note
Compaq reserves UIC group 1 and groups 300–377.
7.5.2.3 Adding a Disk Quota Entry
Disk quotas limit the amount of disk space available to individual users on a
particular volume. If disk quotas are in effect for a disk volume, run the System
Management utility (SYSMAN) and use the DISKQUOTA command to add an
entry for the new UIC as follows:
1. Invoke SYSMAN.
2. Define the management environment to be node LARRY.
3. Add a disk quota entry on the volume DISK$USER for UIC [014,JONES]. The
entry has a permanent quota of 2000 blocks and an overdraft of 500 blocks.
4. Exit from the utility.
Example
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> SET ENVIRONMENT/NODE=LARRY
SYSMAN> DISKQUOTA ADD [014,JONES]/DEVICE=DISK$USER/PERMQUOTA=2000/OVERDRAFT=500
SYSMAN> EXIT
The sum of the quota and overdraft values is the absolute maximum number
of blocks allotted to the user, which in this example is 2500 blocks. For more
information about SYSMAN and establishing disk quotas, see the OpenVMS
System Management Utilities Reference Manual.
7.5.2.4 Setting the User Default Device for an Interactive Account
For each interactive account, create a top-level (default) directory (using the
DCL command CREATE/DIRECTORY). In the directory place a login file, login
file template, and/or logout file, as appropriate. The interactive user creates
and maintains files and subdirectories in this directory. Make the owner of the
directory the UIC for the new account. Usually, you also use the name of the
account for the default directory.
Example
If you decided on an account name of JONES and a UIC of [014,1], you would
enter the following DCL command to create a default directory for the account on
the volume DISK$USER:
$ CREATE/DIRECTORY DISK$USER:[JONES]/OWNER_UIC=[014,1]
The volume on which the directory is established depends on which devices you
reserve for interactive accounts and how much space is available on each.
The default file specification you provide the new account (when you run
AUTHORIZE) should be the name of the device and the name of the top-level
directory you used in the DCL command CREATE/DIRECTORY.
Managing User Accounts 7–15










