Date: Tue, 22 Feb 2000 07:31:13 -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: <NDBBLOMCGLFPEPCPJEKKOEEOCAAA.troy@picus.com> In-Reply-To: <Pine.BSF.4.21.0002221931260.29324-100000@atlas.usls.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBLOMCGLFPEPCPJEKKOEEOCAAA.troy>