[GH-ISSUE #100] admin-user-home vs admin_user_home #53

Closed
opened 2026-03-03 13:58:44 +03:00 by kerem · 2 comments
Owner

Originally created by @acurrieclark on GitHub (Oct 5, 2021).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/100

github.com/konstruktoid/hardening@47246cfcb1/misc/audit-base.rules (L7)

I am struggling with an issue where my audit.log is getting overloaded on a new server I am hardening.

In a previous version of this file, admin-user-home (hyphenated) was written as admin_user_home (underscored). I can't find any reference as to why this might be, and wondered if this might be in error?

Many thanks

Originally created by @acurrieclark on GitHub (Oct 5, 2021). Original GitHub issue: https://github.com/konstruktoid/hardening/issues/100 https://github.com/konstruktoid/hardening/blob/47246cfcb18d6139e12ef9d68a39b5cafd9fe7d8/misc/audit-base.rules#L7 I am struggling with an issue where my audit.log is getting overloaded on a new server I am hardening. In a previous version of this file, `admin-user-home` (hyphenated) was written as `admin_user_home` (underscored). I can't find any reference as to why this might be, and wondered if this might be in error? Many thanks
kerem closed this issue 2026-03-03 13:58:44 +03:00
Author
Owner

@konstruktoid commented on GitHub (Oct 5, 2021):

Hi @acurrieclark, that was changed in github.com/konstruktoid/hardening@e0af71f93c approx 13 months ago.
Since https://github.com/konstruktoid/hardening/blob/master/misc/audit.header#L5-L6 flushes all rules before applying the new ones, the old key shouldn't be present.

<!-- gh-comment-id:934422231 --> @konstruktoid commented on GitHub (Oct 5, 2021): Hi @acurrieclark, that was changed in https://github.com/konstruktoid/hardening/commit/e0af71f93ce4a8ccba0e391990b902a3079368fa approx 13 months ago. Since https://github.com/konstruktoid/hardening/blob/master/misc/audit.header#L5-L6 flushes all rules before applying the new ones, the old key shouldn't be present.
Author
Owner

@acurrieclark commented on GitHub (Oct 5, 2021):

Ah, I am sorry, I just misunderstood the meaning of the key. Thanks for getting back to me.

<!-- gh-comment-id:934573820 --> @acurrieclark commented on GitHub (Oct 5, 2021): Ah, I am sorry, I just misunderstood the meaning of the key. Thanks for getting back to me.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hardening#53
No description provided.