‘sudo’ is missing on recovery terminal on my MacBook, I booted to RECOVERY TERMINAL.
I get this error “sudo command not found”
critical commands like sudo, brew, su and others are missing from
/bin
/usr/bin
/usr/sbin
i searched with
ls -la /usr/bin | grep sudo
Can a bad actor with physical access to my machine delete these from machine? (No Firmware Password Set)
how do I install them back?
When I boot my MacBook with my regular username, sudo and everything else works.
How do I make sure the system recovery software, boot loader and its components are updated.
P.S: I have upgraded to MacOS BigSur
The modern mac os recovery environment automatically logs in as root. So the su or sudo command is not necessary since you are already using superuser privilages. Try the command ls -lah to see your permessions of the current directory. Or ls -lah whoami to see your user permissions.