idletime in login.conf

Modulok modulok at
Sun Oct 30 16:10:09 UTC 2011


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

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


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?


More information about the freebsd-questions mailing list