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

Lynis doesn't seem to be aware of symlinks when scanning various bindirs #1

Closed
ghost opened this issue Sep 8, 2014 · 3 comments
Closed
Assignees

Comments

@ghost
Copy link

ghost commented Sep 8, 2014

I'm using a distro which has all classical bindirs (/bin, /sbin, /usr/sbin, etc.) symlinked to /usr/bin, so only the actual directory (/usr/bin in my case) should be scanned. What happens for me is every symlink seems to be scanned, effectively meaning the same folder is scanned multiple times.

[+] System Tools
------------------------------------
  - Scanning available tools...
  - Checking system binaries...
    - Checking /bin...                                        [ FOUND ]
    - Checking /sbin...                                       [ FOUND ]
    - Checking /usr/bin...                                    [ FOUND ]
    - Checking /usr/sbin...                                   [ FOUND ]
    - Checking /usr/local/bin...                              [ FOUND ]
    - Checking /usr/local/sbin...                             [ FOUND ]
@mboelen
Copy link
Member

mboelen commented Sep 8, 2014

Thanks for reporting. To support in testing it after making adjustments: What distro is it?

@mboelen mboelen self-assigned this Sep 8, 2014
@ghost
Copy link
Author

ghost commented Sep 8, 2014

It's Arch Linux.

@mboelen
Copy link
Member

mboelen commented Sep 9, 2014

Enhancement is implemented. Thanks for reporting.

@mboelen mboelen closed this as completed Sep 9, 2014
mboelen pushed a commit that referenced this issue Jul 13, 2015
Changed the text of the First Run section to a list
mboelen pushed a commit that referenced this issue Sep 16, 2015
Change to permissions check
@0x25 0x25 mentioned this issue Dec 10, 2015
mboelen pushed a commit that referenced this issue Jul 15, 2019
N-GreatWoods pushed a commit to N-GreatWoods/lynis that referenced this issue Feb 21, 2020
mboelen pushed a commit that referenced this issue Oct 25, 2020
Sync with CISOfy/lynis
mboelen pushed a commit that referenced this issue Jan 6, 2021
mboelen pushed a commit that referenced this issue May 16, 2024
Update tests_php to include PHP8.3 and 8.4
mboelen pushed a commit that referenced this issue Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant