‎02-12-2024 02:40 PM - last edited on ‎04-02-2024 07:51 AM by Mercedes_O
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?
‎02-12-2024 04:34 PM
Hello there!
We suggest contacting our support team to assist you with this: https://www.lansweeper.com/contact/contact-support/
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now