On Wed, 2018-05-16 at 10:18 -0400, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [05-16-18 10:10]:
* Mark Misulich <munguanaweza@gmail.com> [05-16-18 09:22]: [...]
do: export PATH=/usr/local/bin:$PATH
sudo updatedb
which rkhunter
also be aware that the above method of changing the $PATH is only for the particular bash/sh/... session which is current. once you close it the path change is gone.
or to make the path change permanent for the system, add the export statement to /ect/profile.local (for openSUSE).
Hi, I used the export statement export PATH=/usr/local/bin:$PATH in my current bash session, and after that I was able to start rkhunter as normal from root. Of course, when I closed the bash session and started a new bash root session, it didn't work until I used the export statement once again. I wanted to make the path change permanent for the system. I found that there was no /etc/profile.local so I made a profile.local file in /etc and copied the export statement in it. I tried it out, and rkhunter wouldn't start. So I must be doing it incorrectly. Can you provide me with instructions as to how to do this correctly? Thanks, Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org