Giter Club home page Giter Club logo

Comments (3)

mboelen avatar mboelen commented on September 27, 2024

Thanks for reporting. For the details, please see the lynis.log file (lynis show details SSH-7404).

What does it show?

from lynis.

maxdd avatar maxdd commented on September 27, 2024
2024-05-27 10:27:51 Performing test ID SSH-7404 (Check SSH daemon file location)
2024-05-27 10:27:51 Test: searching for sshd_config file
2024-05-27 10:27:51 Result: /etc/ssh/sshd_config exists
2024-05-27 10:27:51 Test: check if we can access /etc/ssh/sshd_config (escaped: /etc/ssh/sshd_config)
2024-05-27 10:27:51 Result: file is not owned by current user ID (1000), but UID 0
2024-05-27 10:27:51 Result: can not read /etc/ssh/sshd_config file (no permission)
2024-05-27 10:27:51 Result: No sshd configuration found
2024-05-27 10:27:51 Exception: test has an exceptional event (SSH-7404:1) with text SSH daemon is running, but no readable configuration file found
2024-05-27 10:27:56 ====

from lynis.

mboelen avatar mboelen commented on September 27, 2024

This is then to be expected, as you tightened things down. One option that I see is to replace the message "not found" with "not readable by user" or something, and to prevent the exception. Will give it a thought and see what we can change.

Edit: Adding some tags to allow others to chime in.

from lynis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.