Date: Wed, 1 Jul 1998 05:33:20 -0700 (PDT) From: tarush@mindspring.com To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/7137: /usr/sbin/ac (run from /etc/monthly) ignores logins on ttyv*, reports 0.0 Message-ID: <199807011233.FAA10664@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 7137 >Category: bin >Synopsis: /usr/sbin/ac (run from /etc/monthly) ignores logins on ttyv*, reports 0.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 1 05:40:01 PDT 1998 >Last-Modified: >Originator: Tom Rush >Organization: >Release: 2.2.5-RELEASE >Environment: FreeBSD fbsd.rush.net 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #19: Thu Jun 25 14:52:27 EDT 1998 tarush@fbsd.rush.net:/usr/src/sys/compile/AC4WQ i386 >Description: /var/log/wtmp entries for ptys are treated differently in ac, since they may not be logins. The code for determining whether it is a pty entry is broken. I have checked -current, the problem is still there. >How-To-Repeat: Just run "ac". >Fix: This patch is for the file in -current: 506c506 < * if they came in on tty[p-y]*, then it is only --- > * if they came in on tty[p-sP-S]*, then it is only 511c511 < strchr("pqrstuvwxy", usr.ut_line[3]) == 0 || --- > strchr("pqrsPQRS", usr.ut_line[3]) == 0 || >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807011233.FAA10664>