Date: Thu, 27 Dec 2012 08:16:31 GMT From: Garrett Cooper <yanegomi@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/174729: ports-mgmt/portmaster: should check for script running as before doing certain operations Message-ID: <201212270816.qBR8GVfa095652@red.freebsd.org> Resent-Message-ID: <201212270820.qBR8K1FS017209@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 174729 >Category: ports >Synopsis: ports-mgmt/portmaster: should check for script running as before doing certain operations >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 27 08:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 10-CURRENT >Organization: EMC Isilon >Environment: n/a >Description: portmaster bombs out late in the process because it doesn't check for root-based credentials before it tries to update packages. Discovered this by accident because I accidentally forgot to run portmaster with sudo. >How-To-Repeat: sudo -u nobody portmaster -a >Fix: Check for root privs sooner. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212270816.qBR8GVfa095652>