mattrajca / sudo-touchid

A fork of `sudo` with Touch ID support.
1.54k stars 47 forks source link

sudo: Unable to initialize authentication methods. #22

Open simplenotezy opened 7 years ago

simplenotezy commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

any ideas @mattrajca ?

simplenotezy commented 7 years ago

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

wottpal commented 6 years ago

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.

goblinhack commented 5 years ago

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