Re: idletime in login.conf

看板FB_questions作者時間14年前 (2011/10/31 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/7 (看更多)
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.= _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Ehbq3oP (FB_questions)
文章代碼(AID): #1Ehbq3oP (FB_questions)