Date: Thu, 3 Sep 1998 12:54:19 -0600 From: "desiertos" <desiertos@deathsdoor.com> To: <freebsd-security@FreeBSD.ORG> Subject: login.conf Message-ID: <18575635463554@imparcial.com.mx>
index | next in thread | raw e-mail
Some troubles with my login.conf, it doesnt appears to do any resource
limits or accounting. All of my users are classified as 'standard' in my
password file. My login.conf, this is it:
#
# standard - standard user defaults
#
standard:\
:accounted=true:\
:bootfull=true:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\
:path=~/bin /bin /usr/bin /usr/local/bin:\
:manpath=/usr/share/man /usr/local/man:\
:nologin=/etc/nologin:\
:cputime=1h30m:\
:datasize=8M:\
:stacksize=2M:\
:memorylocked=4M:\
:memoryuse=8M:\
:filesize=8M:\
:coredumpsize=8M:\
:openfiles=24:\
:maxproc=32:\
:priority=0:\
:requirehome:\
:passwordperiod=90d:\
:umask=002:\
:ignoretime@:\
This is what I added at the end of these lines:
:idletime=2m:\
:monthtime=24h:\
:sessiontime=30m:\
:sessionlimit=1:\
:tc=default:
Yes, I did: cap_mkdb /etc/login.conf
In my /etc/rc.conf, I did:
check_quotas="YES" # Check quotas (or NO).
accounting_enable="YES" # Turn on process accounting (or NO).
Users dont get disconnected when 2 minutes idle, dont have 24 hours at
month, and so on. What the heck I am missing? hehe...
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18575635463554>
