home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9161 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.3 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!ekhadafi.austin.ibm.com!curt
  2. From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: increasing priority
  5. Message-ID: <1992Aug27.171441.8187@awdprime.austin.ibm.com>
  6. Date: 27 Aug 92 17:14:41 GMT
  7. References: <Aug26.153924.56198@yuma.ACNS.ColoState.EDU>
  8. Sender: news@awdprime.austin.ibm.com (USENET News)
  9. Distribution: usa
  10. Organization: IBM AWD, Austin
  11. Lines: 18
  12.  
  13. arvidson@lagrange (John Arvidson  ) writes:
  14. >Hello, I am looking for suggestions for a way that I can increase the
  15. >job priority on a couple of accounts.  For instance, every time they
  16. >login, all their processes run with a renice value of -5.  
  17.  
  18. Here is a response from someone else here on the Change Team:
  19.  
  20. "Put them all in a group called "studboys" and have a setuid program
  21. executable only by this group that sets its nice value to -5, then
  22. exec's /bin/ksh (or whatever). Make this program their login shell."
  23.  
  24. I can't see why this wouldn't work.  Make sure the C program doesn't
  25. exec the ksh as root.
  26.  
  27. -- 
  28. curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
  29. My views are unrelated to those of IBM     |        Austin, TX
  30.   Social Security isn't a retirement plan.  It's middle class welfare.
  31.