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