Hi,I'm working on packaging rkhunter into a RPM-package and have started with a .spec file for another distribution. As part of the install procedure, rkhunter is run as follows:
[root@cauldron remmy]# /usr/sbin/rkhunter --enable group_changes,passwd_changes The default temporary directory will be used: /var/lib/rkhunter/tmp The default database directory will be used: /var/lib/rkhunter/db [ Rootkit Hunter version 1.3.8 ] Checking the local host... Performing group and account checks Checking for passwd file [ Found ] Checking for root equivalent (UID 0) accounts [ None found ] Checking for passwordless accounts [ None found ] Checking for passwd file changes [ None found ] Checking for group file changes [ None found ] Checking root account shell history files [ OK ] [Press <ENTER> to continue] System checks summary ===================== File properties checks... All checks skipped Rootkit checks... All checks skipped Applications checks... All checks skipped The system checks took: 4 seconds All results have been written to the log file (/var/log/rkhunter.log) No warnings were found while checking the system. [root@cauldron remmy]# echo $? 1Any ideas as to why the exit status would be 1 instead of 0? rpm gives a warning as a result.
Thanks and regards, Remco
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users