Re: idletime in login.conf
Jason Helfman jhelf...@e-e.com wrote: On Mon, Oct 31, 2011 at 08:11:57PM +0100, Julian H. Stacey thus spake: Suggestion: use send-pr to submit a diff to add SEE ALSO ports/sysutils/doinkd to man login.conf I don't believe it is the correct place in a base man page for mentioning a port in the FreeBSD tree, or in at least this case. Perhaps the Handbook would be a better place. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: idletime in login.conf
On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: 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? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted 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-unsubscr...@freebsd.org
Re: idletime in login.conf
In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: 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? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: idletime in login.conf
On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: 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? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: idletime in login.conf
Hi, Reference: From: Jason Helfman jhelf...@e-e.com Date: Mon, 31 Oct 2011 11:25:32 -0700 Message-id: 20111031182532.gf82...@eggman.experts-exchange.com Jason Helfman wrote: On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: 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? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator That was a useful tip, but people (inc. self) will not remember. Suggestion: use send-pr to submit a diff to add SEE ALSO ports/sysutils/doinkd to man login.conf Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with ; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: idletime in login.conf
On Mon, Oct 31, 2011 at 08:11:57PM +0100, Julian H. Stacey thus spake: Hi, Reference: From: Jason Helfman jhelf...@e-e.com Date: Mon, 31 Oct 2011 11:25:32 -0700 Message-id: 20111031182532.gf82...@eggman.experts-exchange.com Jason Helfman wrote: On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake: In the last episode (Oct 31), Damien Fleuriot said: On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote: 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? Are these users that logged in after or before your change ? Obviously the idle timeout only applies to users who logged in after you adjusted the value and rebuilt the db. Actually, the idle timeout is not implemented in the base system. It's there in case someone writes a 3rd-party module that does idle detection. See the login.conf manpage: RESERVED CAPABILITIES The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. You may want to look into /usr/ports/sysutils/doinkd for this. I use it on many systems, and it works remarkable well, and it is highly configurable. -jgh -- Jason Helfman System Administrator That was a useful tip, but people (inc. self) will not remember. Suggestion: use send-pr to submit a diff to add SEE ALSO ports/sysutils/doinkd to man login.conf Cheers, Julian I don't believe doinkd respects the values of login.conf, however you may use those values for what is configurable for doinkd. I don't believe it is the correct place in a base man page for mentioning a port in the FreeBSD tree, or in at least this case. If you feel it is, feel free to send in a problem report. I, myself, will not be filing a report for this item. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
idletime in login.conf
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- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org