-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Homebrew as root is extremely dangerous and no longer supported. #12
Comments
Dropping |
It doesn't work, plist is under the user Library folder which means it won't run with root privileges? So I don't think it will do anything.
|
Turns out the problem is you need to first tap brew/services, and then you can run via sudo. I'll update the ReadMe |
It seems that the sudo brew command does not report an error now, but I reopened a terminal and it did not pop up the touch-id authentication is still the password, so it does not seem to have worked.
|
First after entering the command, you need to restart the terminal session. Also, the brew services command just starts the service — it does not call sudo-touchid right away. I'll also update the ReadMe about that. |
I tried restarting the terminal session, but it didn't work. 2022-11-11.23.57.48.mov |
@angryjonny wait, how? I thought |
@love4taylor try running plain |
The plist generated by brew looks like this, It seems to be different from the one provided in your repo.
|
Wow. The manual installation plist does not have the "LimitLoadToSessionType" key indeed. The brew-generated one also did not have it before. I'll try to look into it. But looks like the new key is not related to |
I tried the script install, |
If I simply run sudo-touchid I'm sure it will work, I just care more about the plist service for automated changes after upgrading the system. |
I think the initial issue was resolved by Homebrew (just untapped Could anyone confirm that the initial issue is resolved? |
I think the script should check for proper chmod first or set and restore. This is on |
Doesn't seem like |
The text was updated successfully, but these errors were encountered: