→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
icebrid
Engaged Sweeper

During the scan on a Linux system, with SSH a command is send to the Linux system with sudo and lspci .
But the sudo command asked for a password.
One way or preventing command sudo from asking for a password is to use the command sshpass.
ssh <account>@<system> -C "SSHPASS=<password> sshpass -e sudo /usr/bin/lspci -vm"

But the command sshpass is not used because the SSH command in the scan works correct on Linux systems on which the command sshpass is not installed.

What is, in the scan, the ssh command with sudo and lspci that is send by lansweeper to the Linux systems?

1 REPLY 1
Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

Hello there!

We suggest contacting our support team to assist you with this: https://www.lansweeper.com/contact/contact-support/