LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-16-2018, 06:06 AM   #1
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 105
Blog Entries: 1

Rep: Reputation: Disabled
[SOLVED] rkhunter no long updating under MX Linux


Anyone else getting this error

Code:
rkhunter --update
Invalid WEB_CMD configuration option: Relative pathname: "/bin/false"
PS: root terminal used

Last edited by galen; 09-17-2018 at 07:40 PM. Reason: added root terminal, solved
 
Old 09-16-2018, 07:34 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: High Sierra
Posts: 9,222
Blog Entries: 37

Rep: Reputation: Disabled
it should be obvious what the next Q is...

Must be you, or MX...?
Code:
rkhunter --update
[ Rootkit Hunter version 1.4.6 ]

Checking rkhunter data files...
  Checking file mirrors.dat                                  [ No update ]
  Checking file programs_bad.dat                             [ No update ]
  Checking file backdoorports.dat                            [ No update ]
  Checking file suspscan.dat                                 [ No update ]
  Checking file i18n/cn                                      [ No update ]
  Checking file i18n/de                                      [ No update ]
  Checking file i18n/en                                      [ No update ]
  Checking file i18n/tr                                      [ No update ]
  Checking file i18n/tr.utf8                                 [ No update ]
  Checking file i18n/zh                                      [ No update ]
  Checking file i18n/zh.utf8                                 [ No update ]
  Checking file i18n/ja                                      [ No update ]
 
Old 09-17-2018, 04:53 AM   #3
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 105
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
updated to version
Rootkit Hunter 1.4.6
same problem
 
Old 09-17-2018, 06:35 AM   #4
individual
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 62

Rep: Reputation: 55
Quote:
Originally Posted by galen View Post
updated to version
Rootkit Hunter 1.4.6
same problem
It sounds like you might be using an old version of the configuration file. See this bug report.
 
1 members found this post helpful.
Old 09-17-2018, 01:25 PM   #5
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 105
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
thank you.

I modified the rkhunter.conf
and set the mirrors to update.
works

UPDATE_MIRRORS=0 to UPDATE_MIRRORS=1
MIRRORS_MODE=1 to MIRRORS_MODE=0
WEB_CMD="/bin/false" to WEB_CMD=""

Last edited by galen; 09-17-2018 at 01:28 PM. Reason: more details
 
Old 09-17-2018, 04:56 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 5,917
Blog Entries: 2

Rep: Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887Reputation: 1887
I'm glad you got it working, galen.

If you consider this thread "Solved", can you please mark it as such (see "Thread Tools" at the top of the thread). Thanks.
 
Old Yesterday, 11:44 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: High Sierra
Posts: 9,222
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by galen View Post
updated to version
Rootkit Hunter 1.4.6
same problem
Yeah. "repos" generally are a version ot two behind.
Good catch!

Quote:
Originally Posted by galen View Post
UPDATE_MIRRORS=0 to UPDATE_MIRRORS=1
MIRRORS_MODE=1 to MIRRORS_MODE=0
WEB_CMD="/bin/false" to WEB_CMD=""
Good job. Could also rem it out? Doesn't seem to affect/effect my c-line (or cron job with same)
Code:
rkhunter --update
ROTATE_MIRRORS=1
UPDATE_MIRRORS=1
MIRRORS_MODE=0
I have no such entry for web_cmd in my /etc/rkhunter.conf.local

However:
Using the source of /usr/src/rkhunter/files/rkhunter.conf OTOH shows lots
Code:
#
# The following option can be set to a command which rkhunter will use when
# downloading files from the Internet - that is, when the '--update' or
# '--versioncheck' option is used. The command can take options.
#
# This allows the user to use a command other than the one automatically
# selected by rkhunter, but still one which it already knows about.
# For example:
#
#     WEB_CMD=curl
#
# Alternatively, the user may specify a completely new command. However, note
# that rkhunter expects the downloaded file to be written to stdout, and that
# everything written to stderr is ignored. For example:
#
#     WEB_CMD="/opt/bin/dlfile --timeout 5m -q"
#
# *BSD users may want to use the 'ftp' command, provided that it supports the
# HTTP protocol:
#
#     WEB_CMD="ftp -o -"
#
# This option has no default value.
#
#WEB_CMD=""
Nice work.

John out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Long Do You Go Without Updating Your OS? Sumguy General 76 12-30-2013 10:13 PM
rkhunter scan: 1 Rootkit & 6 Possible Suspect Files /var/log/rkhunter.log included Mollusc Linux - Security 10 09-29-2011 08:43 AM
pygtk - need help updating status bar during long operation RockDoctor Linux - Software 7 03-29-2011 02:33 PM
rkhunter, not updating hashes? abefroman Linux - Software 5 09-22-2009 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration