On Wed, 2018-05-16 at 01:53 -0500, David C. Rankin wrote:
We got some work to do -- see below:
On 05/15/2018 09:06 AM, Mark Misulich wrote:
Checking installation directories: Directory /usr/local/share/doc/rkhunter-1.4.6: creating: OK Directory /usr/local/share/man/man8: exists and is writable. Directory /etc: exists and is writable. Directory /usr/local/bin: exists and is writable. Directory /usr/local/lib64: exists and is writable. Directory /var/lib: exists and is writable. Directory /usr/local/lib64/rkhunter/scripts: creating: OK Directory /var/lib/rkhunter/db: creating: OK Directory /var/lib/rkhunter/tmp: creating: OK Directory /var/lib/rkhunter/db/i18n: creating: OK Directory /var/lib/rkhunter/db/signatures: creating: OK ... Installation complete linux-2b8:/home/lx1/Downloads/rkhunter-1.4.6 # rkhunter --propupd If 'rkhunter' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf rkhunter
Same as before I reworked everything. Here are the results of the list results you requested: ...
Mark
First, you did not install to /usr instead you installed to /usr/local (which is fine, and when not installing from an .rpm -- where you should install to), but not apparently you do not have `/usr/local/bin` in your PATH. (which is strange, I always thought that was standard)
Do this:
echo $PATH
and see if you have /usr/local/bin inlcuded
or you can just do
[[ $PATH =~ /usr/local/bin ]] || export "${PATH}:/usr/local/bin"
(which you can put in your .bashrc to insure the path is always checked for and appended)
now try
rkhunter
if that fails then post the output of
ls -al /usr/local/bin/rkhunter
(you can look at it and make sure it is executable by your normal user)
if not, then you can make it so by su'ing to root and then
chmod 0755 /usr/local/bin/rkhunter
-- David C. Rankin, J.D.,P.E.
Hi, here are results from your instructions: linux-2b8:/usr/local/bin # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin linux-2b8:/usr/local/bin # [[ $PATH =~ /usr/local/bin ]] || export "{PATH}:/usr/local/bin" bash: export: `{PATH}:/usr/local/bin': not a valid identifier linux-2b8:/usr/local/bin # ls -al /usr/local/bin/rkhunter -rwx------ 1 root root 575851 May 15 09:00 /usr/local/bin/rkhunter linux-2b8:/usr/local/bin # chmod 0755 /usr/local/bin/rkhunter linux-2b8:/usr/local/bin # rkhunter --propupdate If 'rkhunter' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf rkhunter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org