Jump to content

Samplex

Member
  • Posts

    12
  • Joined

  • Last visited

Posts posted by Samplex

  1. Hi,

     

    I'm trying to run this script using Alfred https://github.com/tjluoma/sudo-via-touch-id/blob/main/sudo-via-touch-id.sh

     

    But the debug says sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

    Running the script manually prompts for the password but not when using Alfred to run it. I dont know where to configure the -S or askpass helper...

     

    Also after running the script it outputs what is changed, how to get this result shown what was done by the script?

    sudo-via-touch-id [SUCCESS]: 'sudo' was successfully added to '/etc/pam.d/sudo'.
    sudo-via-touch-id: 'iTerm' preference is already set properly.

     

    Thanks in advance

     

     

  2. Had to do this after trying the workflow

     

    Do the following immediately after you get the warning: "[application-xyz] cannot be opened because the developer cannot be verified."

     

    1. Click "Cancel" on the warning dialog.
    2. Open Mac System Preferences
    3. Open Security & Privacy section, then the General tab
    4. At the bottom in the "Allow apps downloaded from" section, you should see a message that says: "[application-xyz] was blocked from use because it is not from an identified developer."
    5. Click the "Allow Anyway" button
    6. Try to run the workflow again
    7. You will get another warning about not being able to identify the developer, but now it has an Open button. Click Open.
    8. You show now be able to run the workflow without any future problems (until you upgrade the workflow).

×
×
  • Create New...