You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I successfully ran Vuls against one of my servers, but I have a problem when running Vuls against another one of my servers. When running vuls prepare, it fails with this error log:
INFO [localhost] Detecting OS...
INFO [localhost] Detecting OS of servers...
ERROR [localhost] (1/1) Failed: web, err: [Unknown OS Type]
ERROR [localhost] Failed to init servers: No scannable servers
The server I'm trying to scan is a standard Ubuntu 14.04. How come it fails to detect the OS version?
I saw in the code that the detection is based on this module, but I'm not familiar with Ruby nor the Go language. As far as I can understand, all the commands indicated in this snippet of code seem to output useful info. Should I report this to specinfra directly?
I added a user on the server I wanted to test using the useradd command, but I didn't specify a shell. Turns out, the default shell for my system was set to /bin/sh, and Vuls runs the command set -o pipefail, which is incompatible with /bin/sh, and requires /bin/bash as shell to work.
Re-creating the user using --shell /bin/bash option in useradd solved the issue.
Hi,
I successfully ran Vuls against one of my servers, but I have a problem when running Vuls against another one of my servers. When running
vuls prepare
, it fails with this error log:The server I'm trying to scan is a standard Ubuntu 14.04. How come it fails to detect the OS version?
I saw in the code that the detection is based on this module, but I'm not familiar with Ruby nor the Go language. As far as I can understand, all the commands indicated in this snippet of code seem to output useful info. Should I report this to specinfra directly?
cat /etc/debian_version
:lsb_release -ir
:cat /etc/lsb-release
:Thanks for your help!
The text was updated successfully, but these errors were encountered: