home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!corton!nenufar.saclay.cea.fr!pv1.smts.cea.fr!pv
- From: pv@pv1.smts.cea.fr (Pierre Verpeaux)
- Newsgroups: comp.unix.aix
- Subject: How to set hard limits
- Message-ID: <1992Jul28.212910.9409@nenufar.saclay.cea.fr>
- Date: 28 Jul 92 21:29:10 GMT
- Sender: @nenufar.saclay.cea.fr
- Organization: Commissariat a l'Energie Atomique - France
- Lines: 18
- Nntp-Posting-Host: pv1.smts.cea.fr
-
- How do you set hard limits of users ?
-
- On a multiuser batch system, we are interessed to limit the cputime per
- interactive process and to use batch for large cpu computation but unfortunatly
- the limits defined in /etc/security/limits are soft limits and our users have
- discovered how to raise there limits.
-
- By using xdm it is possible to set limits in Xsession but it is still possible
- to su yourself and have the system's hard limits.
-
- So far i have disabled that possibility by putting an invalid value in
- /etc/security/limits so that the setpcred call in su (or login) fails
- and by putting a wrapper in inetd.conf to enforce cpu time limit on rlogin
- or telnet session.
-
- Are you aware of a better solution ?
- --
- Pierre Verpeaux DMT/SEMT/LAMS (1)69.08.65.42
-