From owner-freebsd-questions@FreeBSD.ORG Mon Oct 31 08:00:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24670106566B for ; Mon, 31 Oct 2011 08:00:49 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B7A228FC0A for ; Mon, 31 Oct 2011 08:00:46 +0000 (UTC) Received: by wyh11 with SMTP id 11so1615937wyh.13 for ; Mon, 31 Oct 2011 01:00:45 -0700 (PDT) Received: by 10.227.209.21 with SMTP id ge21mr16770656wbb.6.1320048045589; Mon, 31 Oct 2011 01:00:45 -0700 (PDT) Received: from [10.99.116.135] ([92.90.16.33]) by mx.google.com with ESMTPS id en13sm25603045wbb.22.2011.10.31.01.00.40 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Oct 2011 01:00:42 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8J2) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (8J2) From: Damien Fleuriot Date: Mon, 31 Oct 2011 09:00:26 +0100 To: Modulok Cc: FreeBSD Questions Subject: Re: idletime in login.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2011 08:00:49 -0000 On 30 Oct 2011, at 16:45, Modulok wrote: > List, >=20 > Goal: Automatically logoff users that are idle after 'x' minutes. >=20 > Attempt: I added this to /etc/login.conf to the default login class: >=20 > :idletime=3D10m: >=20 > I then rebuilt the database: >=20 > cap_mkdb /etc/login.conf >=20 > Problem: It doesn't work. The 'w' command shows users idle for 20 minutes o= r > more. I'm missing something. Other than an autologout shell variables, how= do I > force idle users to logout? >=20 Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adj= usted the value and rebuilt the db.=