Code Monkey home page Code Monkey logo

Comments (3)

mm-weber avatar mm-weber commented on June 29, 2024

You mean /var/run/faillog, right?

from cnspec-policies.

mm-weber avatar mm-weber commented on June 29, 2024

What Debian are you on @tas50 ?
Could not reproduce the issue on vagrant/debian9:

root@stretch:/etc/audit/rules.d# /etc/init.d/auditd restart
[ ok ] Restarting auditd (via systemctl): auditd.service.
root@stretch:/etc/audit/rules.d# cd ..
root@stretch:/etc/audit# cat audit.rules
## This file is automatically generated from /etc/audit/rules.d
-D
-b 8192
-f 1
-w /var/log/lastlog -p wa -k logins
-w /var/log/tallylog -p wa -k logins
-w /var/log/faillog -p wa -k logins
--backlog_wait_time 0

Generally speaking this looks more like an OS issue to me.
When hardening my Ubuntu 22.04, I also ran into problems with configuring audit correctly.

It is super finicky and I think having one wrong character in an unrelated rule led to failing to add and/or update other files from the rules.d/ folder when generating the audit.rules. I ended up adding the rules in different files in the rules.d/ directory with a few blocks each in them and then regenerating the audit.rules file until I found the file and subsequently the line that caused the issue.

Also there is another hardening control, that only allows changes to the audit.rules when rebooting. So maybe that is why it's happening for you?

from cnspec-policies.

tas50 avatar tas50 commented on June 29, 2024

@mm-weber this is an openmediavault system which is Debian 11 + a few extra repos.

from cnspec-policies.

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.