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