;
; This limits the user 'foobar' to these certain limits.
;

user foobar {
; limits the user foobar to 12 minutes of cpu time.
 cpu 12
; limits the user foobar to 3 megs of ram.
 ram 3
; limits the user foobar to 4 programs a time.
 process 4
; limits the user foobar to 9 files open a time.
 files 9
; nices the shell to -12 (man nice)
 nice -12
; runs /bin/playwav /usr/lib/badlogin.wav on a bad login.
 badlogin /bin/playwav /usr/lib/badlogin.wav
; keeps the user from only having 3 shells.
 maxlogins 3
}
