1

In our RedHat server, we ave enabled user session logging using script and it's logging the user sessions. But I can't find scriptreplay to play the logs recorded. How to read/play the logs ?

nitins
  • 2,579
  • 15
  • 44
  • 68

2 Answers2

2

It seems that Red Hat removed scriptreplay from util-linux. But you can download it from here.

quanta
  • 51,413
  • 19
  • 159
  • 217
2

To add to what @quanta says, as you don't say which version of the OS you're using.

RHEL 6 and above has scriptreplay ( a compiled binary program) as part of the util-linux-ng package. If it's missing you can reinstall it with

yum reinstall util-linux-ng
user9517
  • 115,471
  • 20
  • 215
  • 297