Quote:
Originally Posted by John VV
there is no "./rkcheck"
as root run
to read the HELP guide
and READ the man page
the basic check is ran by running
there is and never has been a need for that ./
rkhunter is installed into /usr/bin
and you HAVE to run it as root
|
I have been running it as root. Doesn't the ./ mean that it is being executed. The rkcheck is highlighted in green which means it is an executable and must be executed.
I think I may be onto something. Is it normal for an output when you do an ls under your usr/local/src directory to look like the following?:
chkrootkit DenyHosts-2.6 fop-1.0-bin.tar.gz lynis-1.3.2.tar proftpd-1.3.3d.tar rarlinux-x64-5.0.0.tar rkhunter-1.3.8.tar rkhunter-1.4.0.tar
chkrootkit.tar DenyHosts-2.6.tar lynis-1.3.2 proftpd-1.3.3d rar rkhunter-1.3.8 rkhunter-1.4.0
I think the reason I keep getting that error message is because of the two versions of the rkhunter tar file and rkhunter-1.3.8 and 1.4.0. I will try what you said and I appreciate your help. Thank you.
Oh and by the way, this was found in the rkhunter.1.4.0/files/rkhunter.conf file when I did a vi.
# This option can be used to modify the command directory list used
# by rkhunter to locate commands (that is, its PATH). By default
# this will be the root PATH, and an internal list of some common
# command directories.
#
# Any directories specified here will, by default, be appended to the
# default list. However, if a directory name begins with the '+'
# character, then that directory will be prepended to the list (that
# is, it will be put at the start of the list).
#
# This is a space-separated list of directory names. The option may
# be specified more than once.
#
#BINDIR="/bin /usr/bin /sbin /usr/sbin"
#BINDIR="+/usr/local/bin +/usr/local/sbin"
What if any needs to be changed from here so that I don't have that error message anymore or is it fine just the way it is:
Invalid BINDIR configuration option: Invalid directory found: .
Invalid BINDIR configuration option: Invalid directory found: ?
Like I said I will try your advice. Thank you again for your help.