Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 18:04:30 -0800
From:      "Jeremiah Gowdy" <jgowdy@home.com>
To:        "Richard B Mahoney" <rbm49@it.canterbury.ac.nz>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Restricting a users CPU usage -- Possible?
Message-ID:  <002701c054f1$b7bd9380$aa240018@cx443070b>
References:  <20001123144644.B42752@student.canterbury.ac.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002701c054f1$b7bd9380$aa240018>