Re: idletime in login.conf
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"
討論串 (同標題文章)
完整討論串 (本文為第 2 之 7 篇):