login.conf problems

Static static at tatersalad.net
Wed Jan 12 17:18:31 PST 2005


Im trying to add a class that will limit processes and session limits, I added this
ircd:\
       :tc=default:\
       :copyright=/etc/COPYRIGHT:\
       :welcome=/etc/motd:\
       :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
       :path=~/bin /bin /usr/bin /usr/local/bin:\
       :manpath=/usr/share/man /usr/local/man:\
       :nologin=/var/run/nologin:\
       :ftp-chroot:\
       :cputime=1h30m:\
       :datasize=100M:\
       :vmemoryuse=100M:\
       :stacksize=2M:\
       :memorylocked=4M:\
       :memoryuse=8M:\
       :filesize=100M:\
       :coredumpsize=8M:\
       :openfiles=24:\
       :maxproc=32:\
       :priority=0:\
       :requirehome:\
       :idletime=30m:\
       :sessionlimit=2:\
       :umask=002:\
       :ignoretime@:\
Then I proceed to run "cap_mkdb /etc/login.conf" then I make a user with the login class of ircd, but the session limits dont seem to work, was curious if anyone out there knew how to fix that
-
Static


More information about the freebsd-questions mailing list