Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2011 09:00:26 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        Modulok <modulok@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: idletime in login.conf
Message-ID:  <E03916D7-DF2E-4DA6-B3C0-1B5E3179A6C8@my.gd>
In-Reply-To: <CAN2%2BEpawKTw4yJwnN87VEk4KRxmJTOughDLAQYRjsCecy=D-oA@mail.gmail.com>
References:  <CAN2%2BEpawKTw4yJwnN87VEk4KRxmJTOughDLAQYRjsCecy=D-oA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30 Oct 2011, at 16:45, Modulok <modulok@gmail.com> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E03916D7-DF2E-4DA6-B3C0-1B5E3179A6C8>