rsync auth logs to ~/
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 5 Jun 2009 18:52:57 +0000 (18:52 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 5 Jun 2009 18:52:57 +0000 (18:52 +0000)
exec/rsyncauthlogs [new file with mode: 0755]

diff --git a/exec/rsyncauthlogs b/exec/rsyncauthlogs
new file mode 100755 (executable)
index 0000000..4914501
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+DEST="/vservers/$1/home/$1/"
+
+/usr/bin/rsync -a /var/log/secure* $DEST