;
; This example is to set the group 'users' to maximum logins per the whole
; system to 10 logins and a system resource limits.
;

group users {
; limits every user who logins and is under the 'users' group
; to 10 minutes of cpu time. 
 cpu 10
; limits every user who logins and is under the 'users' group
; to 3 processes over ALL OF THEIR SHELLS
 process 3
; limits every user who logins and is under the 'users' group
; to 10 megabytes of ram.
 ram 10
; limits every user who logins and is under the 'users' group
; to a maximum of 15 files open at a time.
 files 15
; This nices (man nice) the shell to the degree 10.
 nice 10
; When any user in the group 'users' has a incorrect login
; echo ${USER} failed login > /var/adm/badlogins.log is executed.
 badlogin echo ${USER} failed login > /var/adm/badlogins.log
; Maximum logins for the group 'users' is set to 10 users at a 
; moment.
 maxlogins 10
}
