LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-17-2016, 10:11 PM   #1
packets
Member
 
Registered: Oct 2005
Posts: 339

Rep: Reputation: 32
is rsync daemon encrypted


I am planning to dispose my rsync script and replace it with rsync daemon. The reason is I can't afford anymore to use root in rsync script and need to disable root login on the client. without-password option in sshd_config is not an option so I thinking to use rsyncd.

My question is rsyncd transferring files encrypted? Is it safe to use over the Internet? Is it insecure to use rsync daemon on the Internet?
 
Old 04-18-2016, 04:21 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,305
Blog Entries: 3

Rep: Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720
You could also tell rsync to use sudo and then configure sudoers to allow just that one combination of options for just that one account.

rsync -a -e "ssh -i somekey_rsa" --rsync-path="sudo /usr/bin/rsync" ...

That would allow you to avoid remote root login.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync could not run as daemon linux425 CentOS 2 11-04-2014 07:21 PM
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 04:08 AM
rsync daemon or not - multiple folders yull Linux - General 4 02-24-2009 05:09 AM
rsync daemon hverne Red Hat 6 06-04-2005 08:37 PM
rsync daemon hverne Fedora 1 05-27-2005 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration