erugwejera
New Member
Hi Team
I need assistance in getting command history in Centos for the user before and after su. The information that I need is basically what you get from bash_history but I need to see commands after the user switches to any other user on the system as well. I also need this information regardless of authentication used as there is either LDAP, AAA etc and not just PAM. The other problem is bash history can be easily deleted so I rather need something that cannot be deleted easily.
I need assistance in getting command history in Centos for the user before and after su. The information that I need is basically what you get from bash_history but I need to see commands after the user switches to any other user on the system as well. I also need this information regardless of authentication used as there is either LDAP, AAA etc and not just PAM. The other problem is bash history can be easily deleted so I rather need something that cannot be deleted easily.