You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Installing Tenable Nessus Agent via Cask, Exit 1 Error Occurs.
Text Output as Follows: failed: [*REPLACEDHOSTNAME*] (item=tenable-nessus-agent) => {"ansible_loop_var": "item", "changed": false, "item": "tenable-nessus-agent", "msg": "sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required\nError: Failure while executing; /usr/bin/sudo -u root -E LOGNAME=omni_admin USER=omni_admin USERNAME=omni_admin -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/tenable-nessus-agent/10.6.3,22994/Install\ Nessus\ Agent.pkg -target / exited with 1. Here's the output:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required"}
Google Chrome Succeeds Install in Same Order and Config.
Attempted Install with both become:yes and without.
The text was updated successfully, but these errors were encountered:
The problem is that the package is requesting sudo. This is a problem with the specific package, not homebrew. There are options such as specifying SUDO_ASKPASS variable with a script that returns the password.
There is a sudo_password that can be passed to the community.general.homebrew_cask module. This fixes the issue with Tenable. It will be available in /Library/NessusAgent/run/sbin/nessuscli
When Installing Tenable Nessus Agent via Cask, Exit 1 Error Occurs.
Text Output as Follows:
failed: [*REPLACEDHOSTNAME*] (item=tenable-nessus-agent) => {"ansible_loop_var": "item", "changed": false, "item": "tenable-nessus-agent", "msg": "sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required\nError: Failure while executing;
/usr/bin/sudo -u root -E LOGNAME=omni_admin USER=omni_admin USERNAME=omni_admin -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/tenable-nessus-agent/10.6.3,22994/Install\ Nessus\ Agent.pkg -target /exited with 1. Here's the output:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required"}
Google Chrome Succeeds Install in Same Order and Config.
Attempted Install with both become:yes and without.
The text was updated successfully, but these errors were encountered: