Closed frakman1 closed 2 years ago
Hi there, I haven't done an uninstall for it but you can stop it updating by disabling the cron jobs that do that. I don't have it in front of me but they should be in the crontab of the gvm user.
The services that run can be disabled with systemctl disable <service name>. Again, I don't have it in front of me but there should be an openvas, gvm, and gsa service.
Hope that helps.
Kev.
On Fri, Oct 22, 2021, 1:08 PM Frak @.***> wrote:
Is there a way to uninstall it? Or at least disable it so it doesn't run and take up resources, updating and using TCP ports?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yu210148/gvm_install/issues/60, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFY4LX7Z6BN23SHXN3V63UIGLAXANCNFSM5GQ76DYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Yes, Thank you. I found them all. As the gvm user, "crontab -e" allowed me to comment out all the jobs:
#38 12 * * * /opt/gvm/sbin/greenbone-scapdata-sync
#16 17 * * * /opt/gvm/bin/greenbone-nvt-sync
#26 12 * * * /opt/gvm/sbin/greenbone-certdata-sync
#12 14 * * * /usr/bin/sudo /opt/gvm/sbin/openvas --update-vt-info
systemctl
disable
followed by stop
for these services:
systemctl disable --now openvas
systemctl disable --now gvm
systemctl disable --now gsa
Is there a way to uninstall it? Or at least disable it so it doesn't run and take up resources, updating and using TCP ports?