You may have a configuration file somewhere in which you can specify the log file name and location. You may also have to specify the log file name and location as an installation option.
I don't know. I don't use chkrootkit. I would first look into chkrootkit installation instructions to try to resolve this question.
Edit: I've just looked into the source code. The lastlog location is hard coded in chklastlog.c.
So, if you installed from rpm, you're stuck with it unless you get a .src.rpm, edit the file named above, and conpile your own rpm.
Or, you can get the tarball and edit the file, then use checkinstall to build an rpm for you when you compile the source code.
Last edited by bigrigdriver; 04-07-2008 at 07:47 AM.
|