Suddenly started getting this strange error when attempting to run any command via sudo
:
sudo: unable to cache user root, already exists
I've tried different Terminal windows, repairing permissions, restarting, and tried creating a new admin user but still get the same issue. As far as OS X is concerned I'm still an administrator and can perform any actions that open an administrator's password dialogue box, but I can no longer run any command via Terminal that requires the use of sudo
.
Does anyone know where the cache that sudo
is mentioning might be located, and whether I can delete and recreate it (and if so, how if it isn't a simple delete)? Is there any other way to solve this issue?