From owner-freebsd-questions Wed Nov 22 18: 2:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from femail3.sdc1.sfba.home.com (femail3.sdc1.sfba.home.com [24.0.95.83]) by hub.freebsd.org (Postfix) with ESMTP id 3864837B479 for ; Wed, 22 Nov 2000 18:02:17 -0800 (PST) Received: from cx443070b ([24.0.36.170]) by femail3.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20001123020102.CLCI16459.femail3.sdc1.sfba.home.com@cx443070b>; Wed, 22 Nov 2000 18:01:02 -0800 Message-ID: <002701c054f1$b7bd9380$aa240018@cx443070b> From: "Jeremiah Gowdy" To: "Richard B Mahoney" , References: <20001123144644.B42752@student.canterbury.ac.nz> Subject: Re: Restricting a users CPU usage -- Possible? Date: Wed, 22 Nov 2000 18:04:30 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Dear Readers, > > I know its possible to restrict user disk storage quotas under FreeBSD > but what about a user's CPU usage? I've searched for info on this and > have come up empty handed. The reason I ask is as follows. man login.conf You can restrict alot of things Here's the default settings (no limits) so that you can see what's available. default:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :priority=0:\ :ignoretime@:\ :umask=022: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message