Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2011 09:45:36 -0600
From:      Modulok <modulok@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   idletime in login.conf
Message-ID:  <CAN2%2BEpawKTw4yJwnN87VEk4KRxmJTOughDLAQYRjsCecy=D-oA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
List,

Goal: Automatically logoff users that are idle after 'x' minutes.

Attempt: I added this to /etc/login.conf to the default login class:

    :idletime=10m:

I then rebuilt the database:

    cap_mkdb /etc/login.conf

Problem: It doesn't work. The 'w' command shows users idle for 20 minutes or
more. I'm missing something. Other than an autologout shell variables, how do I
force idle users to logout?

Thanks.
-Modulok-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN2%2BEpawKTw4yJwnN87VEk4KRxmJTOughDLAQYRjsCecy=D-oA>