On 05/14/2018 01:35 PM, David C. Rankin wrote:
On 05/14/2018 01:02 PM, Mark Misulich wrote:
I then used dolphin to find every file for rkhunter, and removed them. then I tried to install rkhunter-1.4.6 using ./installer.sh --install. It installs perfectly, but when I try to run it, konsole can't find it.
How do I fix this?
Mark
If konsole can't find it, it is not in your PATH. Your default path with not include /sbin;/usr/sbin so if it gets put there -- there is your answer.
Howerver, root does have /sbin in it's path -- have you tried to su to root and then run it?
It probably does, but I always "rpm -e command-not-found" to get rid of the 3-line mess. Looking at the rkhunter source "install.sh" as well as the opensuse rpm "rkhunter-1.4.2-11.1.x86_64.rpm", both install to /usr/bin (or /usr/local/bin), so there should be no need for any PATH modification. My only other thought is somehow the permissions on the executable got messed up so you no longer have the execute bit set. Please provide an 'ls -al' listing of /usr/bin/rkh* and /usr/lib64/rkhunter/scripts (adjust the paths as required if you installed them to another directory, e.g. /usr/local/...) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org