Opened 2 months ago

Last modified 2 months ago

#70680 closed defect

sudo @1.9.16 -- sudo: port: command not found — at Initial Version

Reported by: RobK88 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: Schamschula (Marius Schamschula)
Port: port

Description

I just installed sudo @1.9.16 on my Mac running El Capitan.

I am using the default sudoers file. No changes.

But I cannot run the sudo port. I get command not found.

MacBook-Pro:~ grinch$ which sudo
/opt/local/bin/sudo

MacBook-Pro:~ grinch$ which port
/opt/local/bin/port

MacBook-Pro:~ grinch$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
 
MacBook-Pro:~ grinch$ sudo echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

MacBook-Pro:~ grinch$ sudo port outdated
sudo: port: command not found

MacBook-Pro:~ grinch$ dscacheutil -q group -a name admin
name: admin
password: *
gid: 80
users: root grinch rob 

MacBook-Pro:~ grinch$

Change History (0)

Note: See TracTickets for help on using tickets.