Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!CSVAX.UCD.HEA.IRL!TWADE From: TWADE@CSVAX.UCD.HEA.IRL.UUCP Newsgroups: comp.os.vms Subject: CHANGING PRIORITY. Message-ID: <8706200330.AA07249@ucbvax.Berkeley.EDU> Date: Fri, 19-Jun-87 23:30:52 EDT Article-I.D.: ucbvax.8706200330.AA07249 Posted: Fri Jun 19 23:30:52 1987 Date-Received: Sun, 21-Jun-87 00:44:04 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 19 >Is their a way to set a process priority limit downward such that >the user can't set it back? The documentation for SET PROCESS/PRIORITY >and SYS$SETPRI seem to be misleading. It suggests that the user can't >set the base priority higher than the existing base priority when in >fact they can set it back to the former (uaf specified) value. It looks >like I would have to poke around in a system data structure; does anyone >know how to do it? Thanks. You could, after lowering the priority, run a program which calls $GETJPI to ascertain the caller's username and then call $SETUAI to lower the authorized priority. The program would have to be installed with the required privilege to modify the SYSUAF. ------------------------------------------------------------------------- Tom Wade Bitnet: twade@csvax.ucd.hea.irl Systems Programmer Ean: twade@csvax.ucd.irl Dept Computer Science PSI: PSI%+27243154000721::TWADE University College Dublin Telex: (0500) 91196 UCD EI Ireland. Voice: +353-1-693244 Ext 2472 -------------------------------------------------------------------------