hamzasood / pam_touchid

A PAM module for authentication with Touch ID
GNU General Public License v3.0
442 stars 32 forks source link

Add to homebrew #3

Open cdmckay opened 7 years ago

cdmckay commented 7 years ago

It would be nice if we could install this with Homebrew (brew.sh).

LiamBrenner commented 7 years ago

:+1:

DouweM commented 7 years ago

@hamzasood Are there any plans to do this? :)

hamzasood commented 7 years ago

It would be nice. But this is a somewhat dangerous mod, so I think it should stay difficult to install. If someone was able to get it installed and working, then chances are they'll know what to do if it goes wrong for whatever reason.

DouweM commented 7 years ago

@hamzasood Before I take the difficult route to install this, what exactly are those dangers, and what could be done to make this mod less dangerous?

barry-scott commented 7 years ago

@DouweM The only way to make this safe and risk free is to have Apple support this feature.

As the README.md says your recovery path, if you cripple sudo, is to login with root and fix the installation or uninstall. By default you cannot login as root on macOS.

caesar commented 7 years ago

I don't think homebrew can really be used for software that requires sudo to install (which this does).

alfozan commented 6 years ago

Copying files to /usr/lib/pam requires disabling SIP (System Integrity Protection)

wizardishungry commented 6 years ago

Is Apple shipping this now? Why do I have it installed to /usr/lib/pam?