Since updating to Catalina I haven't been able to do sudo. I'am an admin user, but every attempt to use sudo (such as sudo visudo
or sudo vim /etc/sudoers
) gives me this message
this user is not in the sudoers file. This incident will be reported.
I know that apple has creating a read only volume for the system. But when I go the the data volume in the terminal I get the same message.
vi
to editsudoers
, aways usevisudo
. – nohillside♦ Apr 23 '20 at 12:45sudo
should work on Catalina the same as before. What is the result ofid -a
? – nohillside♦ Apr 23 '20 at 12:46sudo
regularly on my macOS (10.15.4 as of a few days ago). I'll make a guess that you have more than one admin user? If so, you might try doing ansu
to the original admin user, and tryingsudo visudo
from that userid. If you get in that way, then give your other admin user id permission to dosudo visudo
. – Seamus Apr 23 '20 at 14:54