Hi, I gooned it up. I downloaded the tarball for rkhunter-1.4.4 from SourceForge some time ago, extracted it, and moved it to it's own folder before installing it. A few days ago, I downloaded the tarball for rkhunter-1.4.6 from SourceForge, extracted it, and installed it from the Downloads folder. I didn't move it to the folder that contained rkhunter-1.4.4. Now, rkhunter won't work. When I try to run rkhunter, konsole can't find it (opensuse leap 15.0). I tried to run rkhunter-1.4.4 and it brings the same result. I uninstalled rkhunter-1.4.4 using ./installer.sh --remove, same for rkhunter-1.4.6. Then I tried to install rkhunter-1.4.6 using ./installer.sh --install. The readout in konsole says its installed, but konsole readout says it can't find it. 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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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? -- 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
On Mon, 14 May 2018 13:35:01 -0500 "David C. Rankin" <drankinatty@suddenlinkmail.com> 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?
Doesn't openSUSE warn you if a normal user tries to execute a program that exists but is on a root-only path? I remember seeing such warnings. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
participants (3)
-
Dave Howorth
-
David C. Rankin
-
Mark Misulich