From owner-freebsd-ports Sun Dec 31 18:12:08 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA02969 for ports-outgoing; Sun, 31 Dec 1995 18:12:08 -0800 (PST) Received: from main.gbdata.com (dial29.phoenix.net [199.3.234.64]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA02939 for ; Sun, 31 Dec 1995 18:10:44 -0800 (PST) Received: (from gclarkii@localhost) by main.gbdata.com (8.6.12/8.6.9) id UAA01458; Sun, 31 Dec 1995 20:07:34 -0600 From: Gary Clark II Message-Id: <199601010207.UAA01458@main.gbdata.com> Subject: Re: idled-1.12 To: taob@io.org (Brian Tao) Date: Sun, 31 Dec 1995 20:07:32 -72600 (CST) Cc: brian@mail.vividnet.com, freebsd-ports@freebsd.org Reply-To: gclarkii@freebsd.org In-Reply-To: from "Brian Tao" at Dec 30, 95 06:19:32 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-ports@freebsd.org Precedence: bulk Brian Tao wrote: > > On Sat, 30 Dec 1995, Brian Wang wrote: > > > > I've been running it for the past 2 months, but I use it mainly for > > logging off idle users (10 min idle + 1 min warning, then off they > > go). I did not try session time, daily limits..etc, but I assume they > > should be working? > > I can't get any of it to work. When I run it in debug mode, it > seems to think that each user actually logged on the system is logged > in 68 times. The "utmplines" utility says there are 156 lines in my > /var/run/utmp file, when in fact there are only a handful of users. > Also, it always says "This session has been idle 0 minutes. You will > be logged out in 1 minutes [sic]", no matter what my idle.cf says. > Then it never logs out the users, or updates their status (I have it > set to poll every 120 seconds). > > I see that a newer version is on the FTP site. I'll try to get > that working. > -- > Brian Tao (BT300, taob@io.org) > Systems Administrator, Internex Online Inc. > "Though this be madness, yet there is method in't" > Hello, I picked up idled 1.13 and have got it working. I used the old BSDI heading with the following DEFS line. DEFS += -DPS_HACK -DHAVE_YYRESTART -DBSDI -DHAVE_SETSID You DO NOT need -lkvm for this and make sure to comment out or delete the DEFS line with -DPROC_SEARCH_1 on it. NOTE: I only tried 1 user with a check time of 30 secs and a logout time of 1 min. But it does work with the above stuff. Gary Clark II (N5VMF) gclarkii@FreeBSD.ORG