logo       

Re: Sudo + ssh and rsnapshot: msg#00023

sysutils.backup.rsnapshot.general

Subject: Re: Sudo + ssh and rsnapshot

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>
Google Custom Search

News | FAQ | advertise