linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* last restart of auditd - in EPOCH time
@ 2021-08-04 19:25 warron.french
  2021-08-04 20:02 ` Steve Grubb
  0 siblings, 1 reply; 3+ messages in thread
From: warron.french @ 2021-08-04 19:25 UTC (permalink / raw)
  To: Linux Audit


[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]

Is there a hidden switch option to auditctl that would tell me the last
time auditd was restart specifically in epoch (down to the second)?

If my rules are changed to non-immutable ( -e 1 ) rebooted, and then
changed back to immutable ( -e 2 ), then I discover this weeks later, then
I will not know for sure which was most recently updated/restarted.

That is the reason for the question.  I am doing this for a hardening
script that will tell me based on known recent changes (as of script
execution), but I cannot properly/successfully assess for dates outside of
a day or so.  :-/

Any ideas would be appreciated,
--------------------------
Warron French

[-- Attachment #1.2: Type: text/html, Size: 993 bytes --]

[-- Attachment #2: Type: text/plain, Size: 106 bytes --]

--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-05 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 19:25 last restart of auditd - in EPOCH time warron.french
2021-08-04 20:02 ` Steve Grubb
2021-08-05 13:03   ` warron.french

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).