home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / vms / 17922 < prev    next >
Encoding:
Text File  |  1992-11-14  |  3.8 KB  |  86 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!newsaintmail
  3. From: lauri@elwing.fnal.gov (Laurelin of Middle Earth)
  4. Subject: RE: SYSUAF conditional modification
  5. Message-ID: <1992Nov13.110445.1@elwing.fnal.gov>
  6. Sender: daemon@linac.fnal.gov (The Background Man)
  7. Nntp-Posting-Host: elwing.fnal.gov
  8. Organization: Fermilab Computing Division
  9. Date: Fri, 13 Nov 1992 17:04:45 GMT
  10. Lines: 74
  11.  
  12. Earlier this month, Alan Greig (Alan@DCT.AC.UK) posted:
  13.  
  14. >> Has anyone written a tool to simplify conditionally modifying
  15. >> sysuaf.dat?
  16.  
  17. >> What I have in mind is the ability to wildcard modify various parameters
  18. >> such as bytlm, pgflquo etc, to a certain value but not to change an
  19. >> individual field if the account already has a higher value for this
  20. >> parameter.
  21.  
  22. I wrote exactly such a utility as an exercise in learning C.  However, I
  23. work for a national research lab and had to cut through some red tape and
  24. bureaucracy in order to get the Official OK to release my code.
  25.  
  26. The red tape has been cut.
  27.  
  28. Below is a brief description of SETPQL.  I will be posting the package in
  29. VMS_SHARE format shortly.  Please forgive me if I don't do this quite right,
  30. I've never posted a VMS_SHARE package before.
  31.  
  32. -- lauri
  33.  ----------------------------------------------------------------------------- 
  34. | Laurelin Loebel            "All that is gold does not glitter,              |
  35. | lauri@elwing.fnal.gov        Not all those who wander are lost..." - JRRT   |
  36. |...they don't generally like what i say anyway, so i don't speak for them... |
  37.  ----------------------------------------------------------------------------- 
  38.  
  39. Product name  : SETPQL
  40.       Version : 2.0
  41.          Date : November 1992
  42. Origin/Author : L. Loebel, Computing Division, Fermilab (lauri@fnal.fnal.gov)
  43.  
  44. Description:
  45.  
  46.         SETPQL is a utility designed for system managers in order to make
  47.         sure that all users in the SYSUAF file have the minimum recommended
  48.         process quota limits.  Frequently a new release of VMS or other
  49.         layered products will require that certain quotas be raised.  The
  50.         system manager may modify the DEFAULT account, but not each
  51.         individual user.  Or, the system manager may know that some users
  52.         already exceed this minimum value, and do not wish to do a global
  53.         change for all users lest some have their quotas reduced.  SETPQL is
  54.         designed so that it will only RAISE PQL values, never lower them.
  55.  
  56.         SYSUAF uses $RMS calls to read the SYSUAF file to obtain each
  57.         username on the system.  (Unfortunately, there is no "supported"
  58.         wildcard method of obtaining this list via system service calls). 
  59.         $GETUAI and $SETUAI are used to read/modify the process quotas for
  60.         users who do NOT meet the minimum specified on the command line (or
  61.         in the DEFAULT account).  The /NOMODIFY qualifier may be used if you
  62.         wish to only *look* at the account quotas, i.e., to check things
  63.         before you actually make changes.
  64.  
  65.         The file BUILD.COM may be used to compile and link the modules that
  66.         form the SETPQL.EXE image.  SETPQL is written in VAX-C and requires
  67.         a C compiler. 
  68.  
  69.         The file SETPQL.HLP contains all of the information on the options
  70.         available with the SETPQL command.  This is the most complete
  71.         documentation source.
  72.  
  73. Usage:
  74.     $ SETPQL :== "$ dev:[dir]SETPQL.EXE"    ! wherever it is located
  75.     $ SETPQL [/options]
  76.  
  77.  
  78. Files included in this VMS_SHARE kit:
  79.  
  80.     AAAREADME.TXT          - this file.
  81.     BUILD.COM              - creates the .EXE from the source modules.
  82.     SETPQL.C               - primary C source code file.
  83.     SETPQL_CLD.CLD         - command language definition module.
  84.     SETPQL_MSG.MSG         - error message definition module.
  85.     SETPQL.HLP             - primary documentation source.
  86.