Skip to content
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 with sudo without passwordless setup hangs #127

Open
bendikro opened this issue May 6, 2021 · 0 comments
Open

Running with sudo without passwordless setup hangs #127

bendikro opened this issue May 6, 2021 · 0 comments

Comments

@bendikro
Copy link

bendikro commented May 6, 2021

When running nmap with either sudo_run or sudo_run_background without passwordless sudo, the command will hang waiting for input. In the case where passwordless setup is required and mistakenly not set up, this will cause a silent failure.
I suggest adding a parameter to these functions to run sudo with -n so that the command will fail if sudo requires a password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant