sudo-touchid icon indicating copy to clipboard operation
sudo-touchid copied to clipboard

sudo: Unable to initialize authentication methods.

Open simplenotezy opened this issue 8 years ago • 5 comments

I get the following error:

sudo: Unable to initialize authentication methods.

When using sudo as admin user. On my main user it works fine.

simplenotezy avatar Jul 09 '17 10:07 simplenotezy

Permissions:

-rwsr-xr-x  1 root   wheel  450832 Jul  9 12:18 sudo

Other apps:

lrwxr-xr-x  1 admin  admin      62 Jun 15 23:17 subl -> /Applications/Sublime Text.app/Contents/SharedSupport/bin/subl

simplenotezy avatar Jul 09 '17 10:07 simplenotezy

any ideas @mattrajca ?

simplenotezy avatar Jul 10 '17 07:07 simplenotezy

Had to delete it, as I couldn't run sudo as admin user.

simplenotezy avatar Jul 10 '17 07:07 simplenotezy

Had exactly the same error message. What I've done first was re-setting rights on the custom executable with /usr/bin/sudo chown root:wheel /usr/local/bin/sudo && /usr/bin/sudo chmod 4755 /usr/local/bin/sudo. This doesn't seem to help...

Then I recognized all my Touch-ID fingers were removed from the settings. After adding them again everything worked as expected.

wottpal avatar Oct 29 '17 14:10 wottpal

Thanks! I hit the same and had the same missing touch ID in preferences

goblinhack avatar Aug 13 '19 12:08 goblinhack