From owner-freebsd-current@FreeBSD.ORG Thu Jun 19 06:20:35 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B82237B401 for ; Thu, 19 Jun 2003 06:20:35 -0700 (PDT) Received: from mail59.fg.online.no (mail59-s.fg.online.no [148.122.161.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8682343F85 for ; Thu, 19 Jun 2003 06:20:33 -0700 (PDT) (envelope-from morten@rodal.no) Received: from slimy.rodal.no (ti121210a080-2151.bb.online.no [80.212.8.103]) by mail59.fg.online.no (8.9.3p2/8.9.3) with ESMTP id PAA29177 for ; Thu, 19 Jun 2003 15:20:30 +0200 (MEST) Received: from atlantis.rodal.no (atlantis.rodal.no [192.168.20.62]) by slimy.rodal.no (8.12.8p1/8.12.8) with ESMTP id h5JDKTGZ017011 for ; Thu, 19 Jun 2003 15:20:29 +0200 (CEST) (envelope-from morten@rodal.no) Received: (from morten@localhost) by atlantis.rodal.no (8.12.9/8.12.9/Submit) id h5JDKSgX001667 for freebsd-current@freebsd.org; Thu, 19 Jun 2003 15:20:28 +0200 (CEST) (envelope-from morten) Date: Thu, 19 Jun 2003 15:20:28 +0200 From: Morten Rodal To: freebsd-current@freebsd.org Message-ID: <20030619132028.GA1493@atlantis.rodal.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline Subject: Recent getty(8) changes clobbers w(1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 13:20:35 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After the recent getty(8) changes w(1) will now show root logins on the same ttys if you use su(1). However, after logging out the root user is not removed from the w(1) (or who(1) for that matter). Example output from w(1) where tty p0 and p4 have been used to login with root, and currently logged out while p2 is still logged in. [atlantis] ~> w 3:17pm up 5:44, 8 users, load averages: 0,02 0,15 0,31 USER TTY FROM LOGIN@ IDLE WHAT root p0 - 9:40am - vi root p2 - 3:11pm 2 -su (csh) root p4 - 3:14pm - w morten p0 :0.0 3:10pm - vi morten p1 :0.0 9:46am 2 irssi morten p2 :0.0 3:10pm 2 -su (csh) morten p3 :0.0 3:10pm 6 ssh slimy morten p4 :0.0 3:11pm - w As far as I know this started after the getty(8) changes, but it could be some other changes as while. Am I the only one seeing this? The machine is running world and kernel from 16th of June. FreeBSD atlantis.rodal.no 5.1-CURRENT FreeBSD 5.1-CURRENT #31: Mon Jun 16 1= 3:26:24 CEST 2003 root@atlantis.rodal.no:/usr/obj/usr/src/sys/atlantis i386 --=20 Morten Rodal --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+8bicbWe1Cy11WVsRAqqVAJ9pIts0PUCLKzHJ4QIDoUkCeji4MwCcCK55 2SkaA6Vpk6ASuwrNebzDROw= =M+T2 -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--