Hallo, unspawn,

Du meintest am 31.12.08 zum Thema Re: [Rkhunter-users] The Rootkit Hunter 
project team announces release 1.3.4:

>> thank you, but where is the download?

> You mean it isn't at
> http://sourceforge.net/project/platformdownload.php?group_id=155034

[...]

There seems something wrong.

I have "compiled" it with the script

#! /bin/bash


Ziel=/tmp/rkhunter
rm -rf $Ziel
mkdir -p $Ziel/usr


./installer.sh --layout custom $Ziel \
     --striproot $Ziel --install > install.log 2>installerr.log
#

When I change "--install" to "--show", the script tells

PREFIX:             /tmp/rkhunter
Application:        /tmp/rkhunter/bin
Configuration file: /tmp/rkhunter/etc
Documents:          /tmp/rkhunter/share/doc/rkhunter-1.3.4
Man page:           /tmp/rkhunter/share/man/man8
Scripts:            /tmp/rkhunter/lib/rkhunter/scripts
Databases:          /tmp/rkhunter/var/lib/rkhunter/db
Temporary files:    /tmp/rkhunter/var/lib/rkhunter/tmp

Got STRIPROOT="/tmp/rkhunter"

------------------------

That's not good - the documents have to go to "/usr/share", not to  
"share". Same with "scripts".

I don't want "rkhunter" somewhere under "/usr/local".

------------------------
I made a slackware packet;

  http://arktur.shuttle.de/CD/Testpakete/rkhunter-1.3.4-noarch-1hln.tgz

When I run this packet (after installation in the slackware way)

        /bin/rkhunter --update

I get the log file

[15:49:12] Running Rootkit Hunter version 1.3.4 on Izar
[15:49:12]
[15:49:12] Info: Start date is Di 13. Jan 15:49:12 CET 2009
[15:49:12]
[15:49:12] Checking configuration file and command-line options...
[15:49:12] Info: Detected operating system is 'Linux'
[15:49:12] Info: Uname output is 'Linux Izar.wm8.hullen.de 2.6.25.19-ODS #1 SMP 
PREEMPT Fri Oct 24 14:22:17 CEST 2008 i686 Pentium III (Coppermine) 
GenuineIntel GNU/Linux'
[15:49:13] Info: Command line is /usr/bin/rkhunter --update
[15:49:13] Info: Environment shell is /bin/bash; rkhunter is using bash
[15:49:13] Info: Using configuration file '/usr/etc/rkhunter.conf'
[15:49:13] Info: Installation directory is '/usr'
[15:49:13] Info: Using language 'en'
[15:49:13] Info: Using '/usr/var/lib/rkhunter/db' as the database directory
[15:49:13] Info: Using '/usr/lib/rkhunter/scripts' as the support script 
directory
[15:49:13] Info: Using '/sbin /usr/sbin /usr/local/bin /usr/bin /bin /usr/games 
/root/bin /usr/lib/qt/bin /bin /usr/bin /sbin /usr/sbin /usr/local/bin 
/usr/local/sbin /usr/libexec /usr/local/libexec' as the command directories
[15:49:13] Info: Using '/' as the root directory by default
[15:49:13] Info: Using '/usr/var/lib/rkhunter/tmp' as the temporary directory

[...]

There are wrong pathes: I started "/bin/rkhunter", not "/usr/bin/ 
rkhunter". Wrong configuration path, wrong scripts path, wrong temp  
path.

Where is the mistake?

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to