ports/174729: ports-mgmt/portmaster: should check for script running as before doing certain operations

Garrett Cooper yanegomi at gmail.com
Thu Dec 27 08:20:01 UTC 2012


>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:


More information about the freebsd-ports-bugs mailing list