From owner-freebsd-ports@FreeBSD.ORG Sun Jul 22 09:45:08 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C72316A417 for ; Sun, 22 Jul 2007 09:45:08 +0000 (UTC) (envelope-from pfraser@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 0FD1113C457 for ; Sun, 22 Jul 2007 09:45:07 +0000 (UTC) (envelope-from pfraser@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so2852383pye for ; Sun, 22 Jul 2007 02:45:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=YnjWTp/qR31jCbk5dCWg9LkAez+ypB1fK8z1vopKhkGSj6y/UE0HU0LBAf8g+uupWvrofQLhSFCPmAOh7t8n/ipkzfRHrfIKSwUJISUwc6NRf+DjIap4H+MBSiL8CuXyJIUr39hqz4YIT8QFzV6iWfZxamqcDasyLTRFT/GTgrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=JrpkqSJYCxLPOnQA0YJbYHBrGdmu3clTTic/GjGh5sRt8uCs5tP5i9jEwr4DMpMNAjm4godc1wUCNylp6o4LD2BVehE3wPzU8DGqNkm1DUpptUgVwKcJu5agUM6Sm32EQiOy11KxngQ1mVAtUwUUiWNrZQhr+uZBJiZtpwbWP+c= Received: by 10.65.186.18 with SMTP id n18mr2963322qbp.1185097507030; Sun, 22 Jul 2007 02:45:07 -0700 (PDT) Received: by 10.65.160.14 with HTTP; Sun, 22 Jul 2007 02:45:07 -0700 (PDT) Message-ID: Date: Sun, 22 Jul 2007 19:45:07 +1000 From: "Paul Fraser" To: tmclaugh@sdf.lonestar.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: ports@freebsd.org Subject: Unusual sudo / w behaviour - 0 users? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 09:45:08 -0000 Hi Tom (and ports list by CC), After an upgrade to sudo v1.6.9 on my 6-STABLE workstation, I've noticed some interesting behaviour with regards to interaction between sudo and w. Check the output below for an example. [pfraser@odyssey ~]$ sudo -V Sudo version 1.6.9 [pfraser@odyssey ~]$ w 7:42PM up 8 days, 7:46, 1 user, load averages: 0.11, 0.10, 0.15 USER TTY FROM LOGIN@ IDLE WHAT pfraser p0 core-server01 7:38PM - w [pfraser@odyssey ~]$ sudo -s Last login: Sun Jul 22 19:36:22 on ttyp1 [root@odyssey ~]# w 7:42PM up 8 days, 7:46, 0 users, load averages: 0.10, 0.09, 0.15 USER TTY FROM LOGIN@ IDLE WHAT [root@odyssey ~]# Note there is now no active session listed? If I then drop out of the sudo session, the problem persists. [root@odyssey ~]# exit exit [pfraser@odyssey ~]$ w 7:44PM up 8 days, 7:47, 0 users, load averages: 0.27, 0.15, 0.17 USER TTY FROM LOGIN@ IDLE WHAT [pfraser@odyssey ~]$ I'm afraid I'm not familiar enough with the inner workings of all the related systems and can't be of much more assistance (at least initially), but I'm quite welcome to perform any testing you require. You may just need to hold my hand a little bit! -- Regards, Paul Fraser // Independent Technical Consultant // Ph: +61 405 341 905 // furyc0de.net This correspondence and any related attachments are confidential. Distribution, reproduction, or release (public domain or otherwise) without the author's prior written consent is STRICTLY FORBIDDEN. Failure to distribute any of the aforementioned without this footer (intact and unmodified) is also STRICTLY FORBIDDEN. Failure to abide by these terms and conditions can result in legal action. If you have received this correspondance in error, or believe any of these terms have been breached, you are requested to contact the author immediately and take steps to destroy all copies in your possession. PGP KeyID: 0x64E635B1 Keyserver: pgp.mit.edu:11371 Key fingerprint: CDA3 0797 68B9 0EC1 D4D3 A7B9 D7D7 4924 64E6 35B1