From owner-freebsd-current@FreeBSD.ORG Sat Jan 16 01:21:19 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A35EA1065670 for ; Sat, 16 Jan 2010 01:21:19 +0000 (UTC) (envelope-from kg6ymn@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF8F8FC20 for ; Sat, 16 Jan 2010 01:21:19 +0000 (UTC) Received: by ywh35 with SMTP id 35so1003406ywh.7 for ; Fri, 15 Jan 2010 17:21:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FUGroVG/ImWyiUOPFx9YAsLcKqLhpKI2EdZEY0VeS9c=; b=hYSQi4rOkvfVdPofehyNrG0CZiOuiGgdH34CoiSpIxKM3BJUB79L7xSIo2idZ5qX4t MRZGWFBCM7H/jh9HdpMiUA9tdg06HgLf02Mmdh+KlYMuqQX//zz3InzWiAL8ouy9cXbO yLvG8m2E1gJtIMMqsSsYnh4JwsKjGOs6crhlo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NNhAJ8Afb0v4w+MNJhmcEXFOQgZVdSwsLS6iiCMusrY1vTMYAEdRCVFRVMBkym0YOp UqQxCS6C78swhu/uRjgVUHn/tPqHRfe6ofHo4JnmuXqLd7svy2qM5ZfFVLUioYBL4SOS utcESysqAMdSrazJ8bvNQiASUVKRR7qQrB7+M= MIME-Version: 1.0 Received: by 10.150.47.32 with SMTP id u32mr1900380ybu.125.1263604876351; Fri, 15 Jan 2010 17:21:16 -0800 (PST) Date: Fri, 15 Jan 2010 17:21:16 -0800 Message-ID: From: michael brindle To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: -CURRENT Bug in portupgrade with sudo X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 16 Jan 2010 01:21:19 -0000 Hello. So, apparently, when one attempts to use portupgrade from a normal user shell, by way of sudo, portupgrade will remove the user from the /usr/local/etc/sudoers file. Also, the user is unable to use the su utility to become root to add themselves back into the /usr/local/etc/sudoers file. Also, this may also be a bug in X, because I rarely run command-line only, next time I upgrade my ports, I will remember to drop into command-line only first. for example: > sudo portupgrade -af Password: (in another terminal) > sudo vi Password: is not in the sudoers file. This incident will be reported. > -- Michael Brindle