Skip to content
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

docs: In fast-root of AlmaLinux, added repoquery to /etc/sudoers #241

Merged

Conversation

future-ryunosuketanai
Copy link
Contributor

@future-ryunosuketanai future-ryunosuketanai commented Feb 16, 2024

Summary

Added /usr/bin/repoquery to /etc/sudoers as a package to be used with AlmaLinux's fast-root scan.

Details

When scanning in AlmaLinux, the following command is being called.
https://github.com/future-architect/vuls/blob/master/scanner/alma.go#L84-L100

But, 'repoquery' is not specified in the document.

| AlmaLinux 8, 9 | - | `vuls ALL=(ALL) NOPASSWD:SETENV: /usr/bin/stat, /usr/bin/needs-restarting, /usr/bin/which, /bin/ls -l /proc/*/exe, /bin/cat /proc/*/maps, /usr/sbin/lsof -i -P -n` |same as `fast-root` |

When we run vuls scan, vuls configtest in fast-root mode we will be asked to enter a password.

Therefore, I added '/usr/bin/repoquery,' to the document.

@kotakanbe kotakanbe merged commit bd51074 into vulsdoc:master Feb 20, 2024
@future-ryunosuketanai future-ryunosuketanai deleted the docs/almalinux-fastroot-pkg branch February 20, 2024 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants