Date: Tue, 22 Feb 2000 08:03:32 -0500 From: "Troy Settle" <troy@picus.com> To: "Francis A. Vidal" <francis@usls.edu>, "FreeBSD ISP" <freebsd-isp@freebsd.org> Subject: RE: checking for dormant accounts Message-ID: <NDBBLOMCGLFPEPCPJEKKGEFACAAA.troy@picus.com> In-Reply-To: <NDBBLOMCGLFPEPCPJEKKOEEOCAAA.troy@picus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBLOMCGLFPEPCPJEKKGEFACAAA.troy>