I add the following line to my bash_profile file to log all my activities.
script ~/mylog_$(date '+%Y%m%d%H%M').log
If I have 100 users, I can not modify all the user accounts with the change mentioned above. Is there any way Linux (centos) will do it automatically? I tried the audit deamon :
/etc/init.d/auditd start /etc/init.d/psacct start
But none of it does what I can do by editing bash_profile file.