From owner-freebsd-isp Tue Feb 22 5: 7:46 2000 Delivered-To: freebsd-isp@freebsd.org Received: from cliff.i-plus.net (cliff.i-plus.net [209.100.20.42]) by hub.freebsd.org (Postfix) with ESMTP id 09F9537B67D for ; Tue, 22 Feb 2000 05:07:43 -0800 (PST) (envelope-from troy@picus.com) Received: from abyss (abyss.dashit.net [209.100.22.250]) by cliff.i-plus.net (8.9.3/8.9.3) with SMTP id IAA38027; Tue, 22 Feb 2000 08:07:22 -0500 (EST) From: "Troy Settle" To: "Francis A. Vidal" , "FreeBSD ISP" Subject: RE: checking for dormant accounts Date: Tue, 22 Feb 2000 08:03:32 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok, I know it's in bad taste to follow up on one's own post. I just realized that there's a better solution here... Assuming that *ONLY* the owner of a mailbox will be reading his/her mail, the solution is to check the last time the mailbox was read. Same thing that finger(1) does. -Troy > -----Original Message----- > From: owner-freebsd-isp@FreeBSD.ORG > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Troy Settle > Sent: Tuesday, February 22, 2000 07:31 > To: Francis A. Vidal; FreeBSD ISP > Subject: RE: checking for dormant accounts > > > > Start parsing out /var/log/maillog to see when people last checked their > mail. Assume all accounts are dormant, then make a timestamp from the > maillog, and mark those users who have checked their mail. After a few > weeks of doing this, you should have a fairly good idea of who's > dormant or > not. As an ongoing process, it shoudln't be hard to pick out > those who have > never checked their mail, or haven't checked in the last XX weeks. > > Keep in mind though, that not all users use their ISPs mail services. > You'll need to parse your radius detail files in the same way. > > But, for the most part, this shouldn't be a problem. If users are paying > their $20, who cares if they're using your resources or not. > Oh... wait... > you're in academia, not in the real world... :) > > -Troy > > > > > -----Original Message----- > > From: owner-freebsd-isp@FreeBSD.ORG > > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Francis A. Vidal > > Sent: Tuesday, February 22, 2000 06:35 > > To: FreeBSD ISP > > Subject: checking for dormant accounts > > > > > > hi all, > > > > how do i find dormant accounts on the system? my users have no shell > > access to the system so i can't get them from `last.' i've tried > > timestamp (via find's -mtime or -atime) of the mail spool file but it > > doesn't necessarily mean that the user is active if he constantly > > receives e-mail. > > > > -- > > francis vidal university of st. la salle, bacolod city, > philippines > > . . . . . . . PGP key available via e-mail / subject: get PGP key > > u s l s N E T tel nos. (+63.34).433.3526 / fax (+63.34).434.0415 > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message