From owner-freebsd-questions Wed Nov 28 8: 9:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by hub.freebsd.org (Postfix) with ESMTP id E5FA437B41B for ; Wed, 28 Nov 2001 08:09:11 -0800 (PST) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.11.3/8.11.3) with ESMTP id fASG9BY32865 for ; Wed, 28 Nov 2001 10:09:11 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200111281609.fASG9BY32865@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Subject: idletime is being idle. Date: Wed, 28 Nov 2001 10:09:11 -0600 From: "Martin G. McCormick" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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