rsync without a shell

Andrew Mathews andrew_mathews
Mon May 17 11:43:02 PDT 2004


Net Llama! wrote:
> I'm trying to setup rsync over ssh without giving the user a shell
> account.  Unfortunately, setting the user's shell to /bin/false prevents
> the rsync from running, as it fails with this error:
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12)
> 
> Does anyone have any suggestions?
> 

/sbin/nologin?

-- 
Andrew Mathews
---------------------------------------------------------------------
   3:26pm  up 23:23,  6 users,  load average: 0.14, 0.40, 0.34
---------------------------------------------------------------------
"Of all the tyrannies that affect mankind, tyranny in religion is the 
worst."
- Thomas Paine



More information about the Linux-users mailing list