On 16-Mar-2009, at 14:43, Jerome Hollon wrote:
I have this in my rsync.conf
[backup]
path = /home/$USER/backup
use chroot = no
monge symlinks = no
uid = wendell
gid = wendell
read only = no
list = yes
auth users = wendell
secrets file = /etc/rsyncd.secrets
But rsync doesn't seem to interpret the $USER. I've also tried this
with $HOME and '~' with no luck.
Yeah, that's never going to work.
I want to be able to back up to the folder 'backup' that will be in
the users homefolder when a user is backing up remotely to the rsync
daemon.
but the user is 'wendell' so put in the path to wendell's home.
rsync.conf doesn't support calls out to authentication modules, so
there's no way to make this work. If you want each user to be able to
access their own backup location, you need a block for each user:
[backup-wendell]
path = /home/wendell/backup
etc..
[backup-wallace]
path = /home/wallacebackup
etc..
[backup-gromit]
path = /home/gromit/backup
etc..
--
The Salvation Army Band played and the children drunk
lemonade and the morning lasted all day, all day.
And through an open window came like Sinatra in a
younger day pushing the town away
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html