How can a user's account be niced when he logs in?
I've tried this:
user:x:111:222:Development user:/export/home/user:/usr/bin/nice 10
What I hope to achieve with this is that all the development user's
processes (spawned ones as well) run with a lower priority than the
* Change the /etc/passwd file to:
And create /usr/bin/nksh:
exec /usr/bin/nice -10 /usr/bin/ksh
* Add nice to either ~/.profile or ~/.login. The problem with this is
that the user can remove this himself.
* Use tcpwarp (suggested by email@example.com)
* Another clever solution is to replace the original compiler program
(cc or cobol) with a script:
exec /usr/bin/nice -10 /usr/bin/cc.orig
This way only the processor intensive processes are niced and not
vi's and the like.
Thanks to *
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:47 CDT