Bug 228219 - chklastlog points to /var/adm/lastlog
chklastlog points to /var/adm/lastlog
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: chkrootkit (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Schwendt
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-11 15:08 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:38:21 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:08:14 EST
Description of problem:

Running '/usr/lib/chkrootkit-0.47/chklastlog' returns the error message:
    unable to open lastlog-file /var/adm/lastlog

The problem is that on Fedora Core systems, the location for lastlog is:
/var/log/lastlog.
Comment 1 Michael Schwendt 2007-02-11 16:06:30 EST
If you run chkrootkit tools manually, give them proper parameters.
Comment 2 Need Real Name 2007-02-11 16:15:28 EST
What are the "proper parameters"?(In reply to comment #1)
> If you run chkrootkit tools manually, give them proper parameters.
> 

What are the "proper parameters"?

There is no man page and the README.chklastlog doesn't mention any parameters...
Comment 3 Michael Schwendt 2007-02-11 16:38:21 EST
chklastlog -l /var/log/lastlog -f /var/log/wtmp

Look, this is a tool used by chkrootkit that is not even in standard
path. So when you run it manually, it can be expected that you become
familiar with it first. chkrootkit runs it, too.

Please report the inaccurate README and the missing manual upstream
at http://www.chkrootkit.org and keep this bug closed. I've patched
chkrootkit for Fedora 7 to default to these two paths. But it is
more important to get such changes into upstream chkrootkit.

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