|
Re: Sudo + ssh and rsnapshot: msg#00023sysutils.backup.rsnapshot.general
2006/8/7, David Cantrell <david@xxxxxxxxxxxxxxx>: > That's the best solution in my opinion - there's a good write-up here > http://troy.jdmz.net/rsnapshot/ > on configuring ssh to work securely with rsnapshot and the root user. Indeed. My rrsync.sh is a bit shorter and further limits to read-only: ------------------ case "$SSH_ORIGINAL_COMMAND" in *"rsync --server --sender"*) logger -t rrsync "$SSH_ORIGINAL_COMMAND" sudo $SSH_ORIGINAL_COMMAND ;; *) echo "Sorry, command rejected" exit 1 ;; esac ------------------ And here is a german URL: http://www.heinlein-support.de/web/rsync-backup/ Best Martin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Sudo + ssh and rsnapshot: 00023, David Cantrell |
|---|---|
| Next by Date: | Re: Sudo + ssh and rsnapshot: 00023, David Cantrell |
| Previous by Thread: | Re: Sudo + ssh and rsnapshoti: 00023, David Cantrell |
| Next by Thread: | Re: Sudo + ssh and rsnapshot: 00023, David Cantrell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |