Date: Wed, 28 Nov 2001 10:09:11 -0600 From: "Martin G. McCormick" <martin@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Subject: idletime is being idle. Message-ID: <200111281609.fASG9BY32865@dc.cis.okstate.edu>
next in thread | raw e-mail | index | archive | help
I just setup a new class called automation and one of the reasons for doing so was to catch the occasional malfunctioning expect script and kill its processes if it didn't happen to end properly. I put the following lines in the login.conf file in the section for the automation class: :idletime=45s:\ If I log in to the account which is in that class, I don't get dumped after 45 seconds. I don't seem to time out at all, as if the idletime directive wasn't there. I _DID_ remember to cap_mkdb /etc/login.conf and I put the account in question in the automation class. The entire definition of automation as it exists in login.conf follows. automation:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :priority=0:\ :idletime=45s:\ # :ignoretime@:\ :umask=022: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111281609.fASG9BY32865>