rpms/chkrootkit/EL-5 chkrootkit-0.47-chklastlog.patch,NONE,1.1

Manuel Wolfshant (wolfy) fedora-extras-commits at redhat.com
Wed Apr 16 23:46:15 UTC 2008


Author: wolfy

Update of /cvs/pkgs/rpms/chkrootkit/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1847

Added Files:
	chkrootkit-0.47-chklastlog.patch 
Log Message:
all patches must be in, otherwise no candies


chkrootkit-0.47-chklastlog.patch:

--- NEW FILE chkrootkit-0.47-chklastlog.patch ---
diff -Nur chkrootkit-0.47-orig/chklastlog.c chkrootkit-0.47/chklastlog.c
--- chkrootkit-0.47-orig/chklastlog.c	2006-02-11 18:02:48.000000000 +0100
+++ chkrootkit-0.47/chklastlog.c	2007-02-11 22:10:25.000000000 +0100
@@ -62,10 +62,10 @@
 #define LASTLOG_FILENAME "/var/log/lastlog"
 #endif
 #ifndef WTMP_FILENAME
-#define WTMP_FILENAME "/var/adm/wtmp"
+#define WTMP_FILENAME "/var/log/wtmp"
 #endif
 #ifndef LASTLOG_FILENAME
-#define LASTLOG_FILENAME "/var/adm/lastlog"
+#define LASTLOG_FILENAME "/var/log/lastlog"
 #endif
 
 #define TRUE 1L
diff -Nur chkrootkit-0.47-orig/README.chklastlog chkrootkit-0.47/README.chklastlog
--- chkrootkit-0.47-orig/README.chklastlog	2006-02-11 18:02:48.000000000 +0100
+++ chkrootkit-0.47/README.chklastlog	2007-02-11 22:50:04.000000000 +0100
@@ -31,8 +31,8 @@
    % cc -o chklastlog chklastlog.c 
 
 
-   To run chklastlog you need read permission on the files /var/adm/wtmp
-   and /var/adm/lastlogin. Normally these files are world-readable and
+   To run chklastlog you need read permission on the files /var/log/wtmp
+   and /var/log/lastlog. Normally these files are world-readable and
    no special privileges are required to run the checker.
 
    The following is an example of the output of chklastlog.




More information about the fedora-extras-commits mailing list