→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
02-12-2024 02:38 PM
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?
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now