#40644: sudo: fails to switch to other user than root -----------------------------+-------------------------------- Reporter: Peter.Danecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: sudo -----------------------------+-------------------------------- I have macport's version of sudo installed on my 10.8 system. When I use it to run as root it works fine, when I try to run as a different user (macports), it would fail. I use the default configuration as provided by the port and see no obvious configuration issue. {{{ petr% which sudo /opt/local/bin/sudo petr% sudo whoami Password: root petr% sudo -u macports whoami sudo: unable to change to runas uid (503, 503): Operation not permitted sudo: unable to execute /usr/bin/whoami: Operation not permitted petr% sudo -u petr whoami sudo: unable to change to runas uid (502, 502): Operation not permitted sudo: unable to execute /usr/bin/whoami: Operation not permitted petr% whoami petr petr% /usr/bin/sudo -u macports whoami macports }}} -- Ticket URL: <https://trac.macports.org/ticket/40644> MacPorts <http://www.macports.org/> Ports system for OS X