git://git.onelab.eu
/
vsys-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4270ce8
)
rsync auth logs to ~/
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Fri, 5 Jun 2009 18:52:57 +0000
(18:52 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Fri, 5 Jun 2009 18:52:57 +0000
(18:52 +0000)
exec/rsyncauthlogs
[new file with mode: 0755]
patch
|
blob
diff --git a/exec/rsyncauthlogs
b/exec/rsyncauthlogs
new file mode 100755
(executable)
index 0000000..
4914501
--- /dev/null
+++ b/
exec/rsyncauthlogs
@@ -0,0
+1,5
@@
+#!/bin/sh
+
+DEST="/vservers/$1/home/$1/"
+
+/usr/bin/rsync -a /var/log/secure* $DEST