public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* Number of TTY events vs Number of USER_TTY events
@ 2019-08-07 22:13 Smith, Gary R
  2019-08-09 20:48 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Smith, Gary R @ 2019-08-07 22:13 UTC (permalink / raw)
  To: linux-audit@redhat.com


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

Good afternoon,

I have TTY auditing set up on a number of hosts using pam_tty_audit for the root account. I have this line in a PAM file to enable it:

session   required pam_tty_audit.so disable=* enable=root

In looking at the reports from aureport and ausearch, the number of TTY events is always equal to the number of USER_TTY events. For instance:

# ausearch -i -m TTY -ts today | wc -l ; ausearch -i -m USER_TTY -ts today | wc -l
20
20

I started wondering, “Are there always the same number of these two event types?” I tried constructing some synthetic cases to see if there is a case where there isn’t an equal number of the two events. I couldn’t construct such a case.  Is there a case of cases where the two type event types aren’t of equal number?

Thanks for your help,

Gary Smith


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

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



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

end of thread, other threads:[~2019-08-09 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 22:13 Number of TTY events vs Number of USER_TTY events Smith, Gary R
2019-08-09 20:48 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox