→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Rocketscience
Engaged Sweeper
Hi there,

as a full ssh/root access is almost impossible to get in our environment, we would need to know the /least/minimal/ rights for Linux/Unix machines for running a software inventory.

Any help is highly appreciated.

Thank you so much
Mat
1 ACCEPTED SOLUTION
Hemoco
Lansweeper Alumni
Below is a list of commands used to scan *nix based systems. Depending on your distribution, not all commands will be used.

cat
df
dpkg
echo
equery
hal-find-by-property
hal-get-property
ifconfig
lspci
grep
pciconf
pkg_info
rpm
sudo dmidecode
sysctl
type
uname
uptime
which


Full root access is not necessary, but using an account with sudo rights is recommended. Sudo is only required to run dmidecode and if sudo is not installed Lansweeper will try to run dmidecode without sudo. If dmidecode cannot be executed for some reason, some hardware information will not be scanned, but the rest of the scanning process will still be executed.

View solution in original post

5 REPLIES 5
Rocketscience
Engaged Sweeper
Understood. Thank you.
Hemoco
Lansweeper Alumni
You cannot customize the SSH scanning procedure, if this is what you're asking. Lansweeper will always try to run dmidecode.
Rocketscience
Engaged Sweeper
Hi,

After closer investigation, this looks promising.

Nevertheless, one more question came up:

The account has no sudo rights and produces syslog entries therefore.
Is there a way to disable sudo/using dmidecode ?

Thx
Matthias
Rocketscience
Engaged Sweeper
Hi,

that's great. We will look into this and investigate.

Thank you so much.
Kind regards
Matthias
Hemoco
Lansweeper Alumni
Below is a list of commands used to scan *nix based systems. Depending on your distribution, not all commands will be used.

cat
df
dpkg
echo
equery
hal-find-by-property
hal-get-property
ifconfig
lspci
grep
pciconf
pkg_info
rpm
sudo dmidecode
sysctl
type
uname
uptime
which


Full root access is not necessary, but using an account with sudo rights is recommended. Sudo is only required to run dmidecode and if sudo is not installed Lansweeper will try to run dmidecode without sudo. If dmidecode cannot be executed for some reason, some hardware information will not be scanned, but the rest of the scanning process will still be executed.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now