DISKQUOTA This Soft DiskQuota program was designed to limit overquota use of disk resources without using the DEC Quota system. Using this system offenders are locked out the first time that they login for the day. If they go overquota during the day there will be no effect until the next day. The use of this process is relatively painless to all persons involved. If a user needs more allowed disk space, it is a fairly simple process to change their quota. This process also greatly reduces need for Systems to make, time consuming but necessary, calls to various personnel, requesting them to delete files to free up disk space. Each night a batch process will run which will calculate how many disk blocks are being used, by specific users, in all their directories. It will compare this to the specific quota allowed to that user. If the user has exceeded the allowed disk usage their name will be logged in a "BAD" list. At Login each user will be compared to this "BAD" list. If their name is found they will be locked into a routine, which will only allow them DELETE, get a DIRECTORY, BYE to exit, or CHECK to see if they have cleared enough space to be allowed on the system. The "BAD" list will only be recalculated each night. Therefore, if a user exceeds their disk quota, at any time during the day, there will be no effect, even when they LOGOUT and LOGIN again. This process will effect them only when they LOGIN, for the first time, on the next day, or until they clear enough space to be allowed on the system. o CHKQUOTA ChkQuota is a command file that should be modified for your site to go off at the time that you desire and to resubmit itself on the batch queue that you want it on. Once this file is modified then you should submit it to Batch and set up your SYSTARTUP.com to submit this file on system startup. This program is the file which triggers BuildBad to go off and check the quotas. In order for this to work a system logical needs to be defined... $ Assign/system Sys$SysDevice:[DiskQuota] Sys$Quota: o BUILDBAD The program BuildBad reads a list of user specs, the users logical SYS$LOGIN as defined in authorize, from "CheckList.txt" and performs a "Directory/Full/Size/Tot" on that user. If the users disk usage in their "Home directory" and it's subdirectories is over the specified quota their name is entered into "BadList.Txt". This is done to all users that are listed in "Checklist.txt". o CHECKBAD CheckBad is the actual quota lockout program. The Line... $ @Sys$SysDevice:[DiskQuota]CheckBad ...should be entered into the SysLogin.com just after the line... $ @Login so that the users will get their personal symbols before checkbad runs. CheckBad checks the users name against the "BadList" if the user is found they are locked into a routine which will only allow them to... DIR to get a directory of their files. DEL to delete files CHECK to check if they are really overquota BYE to logout. o MANAGER The Manager program is intended to maintain the DiskQuota Data Base once it has been setup. The CheckList file and the BadList file are both ASCII files so they can be modified using the editor however it is recomm- ended that after the initial setup of CheckList.txt that all diskquota activity be done through Manager. Please read Manager.Doc for more infor- mation about using Manager. o VMS V4.0 The DiskQuota system has been tested under VMS V4.0 and works well. To use this system with V4.0 rename CHKQUOTA.V4 to CHKQUOTA.COM and BUILDBAD.V4 to BUILDBAD.COM. If you have any questions, Comments, or Suggestions please contact... Paul Lind 22 Ward Street Amherst, Ma. 01002