-
Notifications
You must be signed in to change notification settings - Fork 21
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
--sudo flag not doing anything with cnspec scan ssh
#296
Comments
move this to cnquery since the problem is located there |
Simple cnquery command to reproduce:
|
This also affected local:
|
czunker
added a commit
that referenced
this issue
Oct 19, 2022
Fixes #296 Signed-off-by: Christian Zunker <christian@mondoo.com>
Merged
chris-rock
pushed a commit
that referenced
this issue
Oct 19, 2022
Fixes #296 Signed-off-by: Christian Zunker <christian@mondoo.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm trying to scan a Linux host over ssh and that requires using Sudo to elevate my privs. I assumed I should just add the
--sudo
flag to my scan ssh command, but it's not working and not producing any errors either.To Reproduce
Steps to reproduce the behavior:
cnspec scan ssh SOME_HOST_IP --incognito --sudo
Expected behavior
Either an error that passwordless sudo is not enabled or a prompt for the sudo password.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: