home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25722 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.1 KB

  1. Path: sparky!uunet!ogicse!mimbres.cs.unm.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Nice'd users at login?
  5. Message-ID: <1k4su6INNi0v@matt.ksu.ksu.edu>
  6. Date: 26 Jan 93 14:44:22 GMT
  7. Article-I.D.: matt.1k4su6INNi0v
  8. References: <1993Jan25.234306.10019@athena.mit.edu> <1993Jan26.204951.2532@tc.cornell.edu>
  9. Organization: Kansas State University
  10. Lines: 21
  11. NNTP-Posting-Host: matt.ksu.ksu.edu
  12.  
  13. mdw@theory.TC.Cornell.EDU (Matt Welsh) writes:
  14.  
  15. >In article <1993Jan25.234306.10019@athena.mit.edu> I.P.Morris@southampton.ac.uk writes:
  16. >>Ok, Dumb question time again i'm afraid.
  17. >>
  18. >>I would like to have certain users logged in and automatically nice'd. (It's
  19. >>My processor not theirs so i want use of it!)
  20. >>
  21. >>I tried to put nice -2 /bin/bash as the shell in /etc/passwd but it didn't seem
  22. >>to like that idea.
  23.  
  24. >That's because nice is a shell builtin.
  25.  
  26. >mdw
  27.  
  28.  
  29. One semi-gunky way to do this would be to add a check in /etc/profile to
  30. check who the user is and renice their shell if its not in a list of
  31. "priveleged" users.
  32.  
  33. James
  34.