rsync without a shell

Net Llama! netllama
Mon May 17 11:43:02 PDT 2004


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?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com


More information about the Linux-users mailing list