I have a pool of systems where sudo is stuck - entering any command into the terminal that you need to elevate using sudo gets hung - sudo never requests the password, and the command never runs.
The only common denominator at the moment is that all the systems with this issue are running Big Sur. But it's definitely not all of them. I've checked the system log for errors and am not seeing anything useful is being logged when I run the sudo command, at least to my eyes.
Interestingly, if you enable the root account on the system, set the root password, and then you use su instead of sudo, that works fine. Also, no issues entering admin credentials in the UI, like for example, to make changes to admin locked System Preferences - this issue is isolated to terminal commands.
Anyone else see this? My google-foo is failing me on this one. Trying to find any troubleshooting for sudo is so tough since it's a part of so many commands people post online... and it doesn't seem to be a widespread issue.
Thanks in advance!
The user was created during the enrollment process - it's the same administrator account used by jamf to manage the system.
I haven't cloned a system in about 4 years - if a system needs to be "imaged", it's done either though recovery, internet recovery, or the macOS installer using the erase option.
I haven't tried safe mode or building a new account yet to see if it persists across different accounts. Safe mode might be tough because most of my work is done remotely.
Thanks for the suggestions.
First, I want to thank everyone who has offered ideas into this. I don't think I was very good at describing the entire situation and the troubleshooting I've performed, and that's on me, let me give some better specs and troubleshooting done so far: