Option 1: We shall schedule this
periodically to get the report
periodically to get the report
cat /var/log/secure* | grep Accepted
Option2:
We shall use last or
lastb command.
This will give login and logout with time.
lastb command.
This will give login and logout with time.
Recent Posts