Attached is a little script I hacked to track my son's time in front of his tube. It only counts time where there is mouse or keyboard activity (I hacked an old script I had written for RSI prevention).
I ssh into his system and fire it up. On Sat, 9 Aug 2003 01:51:28 -0400 "Wil McGilvery" <[EMAIL PROTECTED]> wrote: > There is short discussion about tracking the time of logged in users at > http://www.linuxquestions.org/questions/archive/1/2003/05/2/58613 > > I would think you could record the time logged in and the time logged out for each > user the time using login and logout scripts. > > The difference for each session would be the time spent logged in and this could > kept in a file on your box. When someone logs in the login script > Checks the file and accepts/rejects the login based on the time accumulated. > > A simple cron job would reset the information every week. > > I sorry I cannot be more specific, but alas, I do not do a lot of scripting myself. > > Maybe someone on the list proficient in this area could help you out. > > Regards, > > Wil McGilvery > Manager > Lynch Digital Media Inc > > > > 416-744-7949 > 416-716-3964 (cell) > 1-866-314-4678 > 416-744-0406 FAX > www.LynchDigital.com > > > > -----Original Message----- > From: ronnie gauthier [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 6:45 PM > To: [EMAIL PROTECTED] > > Go look at ISP accounting packages or maybe cafe software, you will probably > want to run some type of raduis server for authentication. > > On Fri, 08 Aug 2003 17:09:02 -0500 - Alma J Wetzker <[EMAIL PROTECTED]> wrote the > following > Re: Logon time limits > > >Is there a way to set logon time limits for up to a set number of hours > > in an arbitrary time period (like a week)? > > > >The goal is to limit logon time for the kids over a week to cut down on > >fighting over the computers on the network. I really don't want to > >confine them to a set time period each day because that will not help > >them learn to budget their own time. > > > >TIA > > > > -- Alma > > > >_______________________________________________ > >Linux-users mailing list > >[EMAIL PROTECTED] > >Unsubscribe/Suspend/Etc -> > >http://www.linux-sxs.org/mailman/listinfo/linux-users > _______________________________________________ > Linux-users mailing list > [EMAIL PROTECTED] > Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users > > > > _______________________________________________ > Linux-users mailing list > [EMAIL PROTECTED] > Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users > > -- ----------------------------------------------------------------------- | Alan K. Jackson | To see a World in a Grain of Sand | | [EMAIL PROTECTED] | And a Heaven in a Wild Flower, | | www.ajackson.org | Hold Infinity in the palm of your hand | | Houston, Texas | And Eternity in an hour. - Blake | -----------------------------------------------------------------------
usage.pl
Description: Binary data
_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users