-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'yum update --changelog' stalled in 'vuls scan'. if ssh user is not 'root'. #150
Comments
It works fine on my environment. ( CentOS5, non-root user) Please update to the latest version, and run with --debug option to get more information. user for sshVuls supports non-root user for ssh user.
|
Please join vuls-slack team. And add a GitHub Star if you favorite Vuls. |
I reproduced the problem on CentOS7 (without -ssh-external). |
…s-non-root Fix yum update --changelog stalled when non-root ssh user on CentOS #150
The bug was fixed. |
If user is not 'root' in ssh connection.
'yum update --changelog' looks like stalled by waiting user input 'Is this ok [y/d/N]: ',
Because 'echo N | ' is not concatenated for command string in 'getAllChangelog' function.
scan/redhat.go
[question]
Is vuls recommended to use 'root' user for ssh connection ?
I think 'root' user check is unnecessary.
I want to use administrator (not 'root') user for security reasons.
The text was updated successfully, but these errors were encountered: