We are using pam_tty
to record all the commands that user types. We are interested in monitoring the user commands.
In the audit.log
, when we grep for USER_TTY
, there is too much of logging that comes.
Here is the attached log screenshoot :-
In the data=
section, there should ideally be the command names, but most of the logs are full of some number like 6364202F...
.
The aureport --tty
seems to be giving proper results with commands, but as we are sending the audit.log
file to centralized log server, it becomes difficult to search for only commands entered by a specific user.