WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Running with sudo without passwordless setup hangs #127

@bendikro

Description

@bendikro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions