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

Function/test: [SSH-7404:01], Exception found! #1506

Open
SchwarzerA opened this issue May 25, 2024 · 0 comments
Open

Function/test: [SSH-7404:01], Exception found! #1506

SchwarzerA opened this issue May 25, 2024 · 0 comments

Comments

@SchwarzerA
Copy link

Describe the bug

Message:

That's all (message is empty) and the test's conclusion is erroneous: Files in /etc are managed by the local admin and are the final configuration. Those in /usr/etc are the supplied default and are overwritten by those in /etc. Please see: https://en.opensuse.org/openSUSE:Packaging_UsrEtc

Version

  • Distribution: openSUSE Tumbleweed | 20240517-0 | x86_64
  • Lynis version: 3.1.2

Expected behavior
No error at all as before.

Output

2024-05-25 20:03:39 ====
2024-05-25 20:03:39 Performing test ID SSH-7404 (Check SSH daemon file location)
2024-05-25 20:03:39 Test: searching for sshd_config file
2024-05-25 20:03:39 Result: /etc/ssh/sshd_config exists
2024-05-25 20:03:39 Test: check if we can access /etc/ssh/sshd_config (escaped: /etc/ssh/sshd_config)
2024-05-25 20:03:39 Result: file is owned by our current user ID (0), checking if it is readable
2024-05-25 20:03:39 Result: file /etc/ssh/sshd_config is readable (or directory accessible).
2024-05-25 20:03:39 Result: /usr/etc/ssh/sshd_config exists
2024-05-25 20:03:39 Exception: test has an exceptional event (SSH-7404:01) with text NoText
2024-05-25 20:03:44 Result: we already found another sshd_config file. Using this new file instead of the previous one.
2024-05-25 20:03:44 Test: check if we can access /usr/etc/ssh/sshd_config (escaped: /usr/etc/ssh/sshd_config)
2024-05-25 20:03:44 Result: file is owned by our current user ID (0), checking if it is readable
2024-05-25 20:03:44 Result: file /usr/etc/ssh/sshd_config is readable (or directory accessible).
2024-05-25 20:03:44 Result: using last found configuration file: /usr/etc/ssh/sshd_config
[+] SSH
------------------------------------
- Checking running SSH daemon [ GEFUNDEN ]

=================================================================

  Exception found!

  Function/test:  [SSH-7404:01]
  Message:

  Help improving the Lynis community with your feedback!

  Steps:
  - Ensure you are running the latest version (./lynis update check)
  - If so, create a GitHub issue at https://github.com/CISOfy/lynis
  - Include relevant parts of the log file or configuration file

  Thanks!

=================================================================

- Searching SSH configuration [ GEFUNDEN ]
- …

Additional context
Scan was run with the default (delivered) profile.

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

No branches or pull requests

1 participant