I compiled and remove rkhunter
into /usr/local/bin/rkhunter
After that I
yum install -y rkhunter
but when I try to launch rkhunter I need to /usr/bin/rkhunter
because it keep seeking for /usr/local/bin/rkhunter
I watched into /etc/profile /etc/profile.d/
and bash_profile
and see nothing
except when i'm running
whereis rkhunter
I receive :
rkhunter: /usr/bin/rkhunter /etc/rkhunter.conf /usr/local/bin/rkhunter /usr/share/rkhunter /usr/share/man/man8/rkhunter.8.gz
so how I could remove this path ? thk!
Jonathan