Hacking Linux Exposed

About
Authors
Contents
Reviews
Foreword
Purchase

Articles
Books
Sourcecode
Tools
Errata

Home

 


(view this code in a separate window)

# Sample limits.conf file.
#
# Sets some reasonable limits on most
# users, but gives higher limits to
# those who probably deserve them.

@cpuhogs	hard	cpu	2
@programmers	hard	nproc	40
@users	hard	nproc	10
@clients	soft	maxlogins	5
@clients	hard	maxlogins	8
linus	hard	nproc	9999
linus	hard	cpu	9999