Bug 228217 - /usr/bin/chkrootkit only runnable from console
/usr/bin/chkrootkit only runnable from console
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: chkrootkit (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Schwendt
Fedora Extras Quality Assurance
:
: 228220 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-11 15:03 EST by Need Real Name
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-11 16:43:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2007-02-11 15:03:58 EST
Description of problem:

Why is /usr/bin/chkrootkit linked to /usr/bin/consolehelper?

The result is that you can't run 'chkrootkit' unless you are on the console.
Furthermore, even if you are on the console, 'chkrootkit' won't run within a
'screen' (/usr/bin/screen)

chkrootkit is exactly one of those types of programs that one would like to run
remotely to check whether a server has been hacked.

Even worse, when you run chkrootkit remotely, it just exits quietly giving the
unknowing user no indication of what is going on. Now I know that you can
alternatively just run /usr/lib/chkrootkit-0.47/chkrootkit, but the unsuspecting
user wouldn't know that and would not understand why /usr/bin/chkrootkit is not
working when not on a console.

At a minimum, if not run from the console, it should return a message
instructing the user to either run it from the console or to run
/usr/lib/chkrootkit-0.47/chkrootkit directly.
Comment 1 Michael Schwendt 2007-02-11 16:00:42 EST
What do you get when running "which chkrootkit"?
Comment 2 Need Real Name 2007-02-11 16:19:04 EST
which chkrootkit gives: /usr/bin/chkrootkit
Comment 3 Need Real Name 2007-02-11 16:21:05 EST
*** Bug 228220 has been marked as a duplicate of this bug. ***
Comment 4 Michael Schwendt 2007-02-11 16:43:18 EST
Please become superuser before running chkrootkit. For the superuser
there is a working chkrootkit in /usr/sbin/chkrootkit. Concerning
your other troubles, look into X Forwarding.
Comment 5 Need Real Name 2007-02-11 22:08:55 EST
OK. I have been using 'sudo' which still uses my regular path which prioritized
/usr/bin/chkrootkit first.
I hadn't realized that there was a version in /usr/sbin/chkrootkit but that
should solve my problems...

Thanks

Note You need to log in before you can comment on or make changes to this bug.