Originally posted by: GurpreetSingh
hi.
Not sure if got your question correctly or not. But if you are looking for activity on your machine from remote machine it will get captured in /var/log/messages
depending upon the configuration in /etc/syslog.conf. All the attempt to connect gets recorded in /var/log/messages along with ip details and time.
If you want to record user activity then you can use in built script command in the .profile.
Thx
WJKWF