Displaying 8 results from an estimated 8 matches for "rsync_user_name".
2009 Mar 16
2
DO NOT REPLY [Bug 6191] New: rsyncd path does not support environmental variables
https://bugzilla.samba.org/show_bug.cgi?id=6191
Summary: rsyncd path does not support environmental variables
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: jerome@6251100.com
2011 Feb 14
1
Rsync 3.0.07
...mentation:
You may base the path's value off of an environment variable by surrounding the variable name with percent signs. You can even reference a variable that is set by rsync when the user connects. For example, this would use the authorizing user's name in the path:
path = /home/%RSYNC_USER_NAME%
Any idea what this is not working?
Can we use dynamic modules?
Set global parameters?
I can do this outside of the rsync daemon.
Chad Franks
Engineer, Network Services
Crowley Maritime Corp.
Chad Franks
Engineer, Network Services
Crowley Maritime Corp.
-------------- next part --------...
2013 Dec 10
1
Delayed variable expansion for P_PATH/P_STRING is missing (loadparm.c)
...rsyncd.conf.html says:
"You may use references to environment variables in the values of
parameters. String parameters will have %VAR% references expanded as
late as possible (when the string is used in the program), allowing for
the use of variables that rsync sets at connection time, such as
RSYNC_USER_NAME. Non-string parameters (such as true/false settings) are
expanded when read from the config file."
So I configured in the config file ($USER is set in the environment):
>>>
path = /home/%USER%/test
<<<
At execution time an error occurs:
>>>
rsync: chroot /home/%USE...
2006 May 15
2
DO NOT REPLY [Bug 3778] New: rsync triggers ( pre/post xter scripts )
...o exit status. However the
exist status is always -1
See the output of set command mailed by sendmail to check RSYNC environment
vars.
RSYNC_EXIT_STATUS=-1
RSYNC_HOST_ADDR=172.29.146.49
RSYNC_HOST_NAME=minttest.id.citistreet.org
RSYNC_MODULE_NAME=TMP
RSYNC_MODULE_PATH=/tmp/TMP
RSYNC_RAW_STATUS=-1
RSYNC_USER_NAME=''
Is this a bug or I am not using proper config file. See the config section in
rsyncd.conf
log file = /tmp/RSYNC2.8.log
[TMP]
path = /tmp/TMP
comment = /tmp/TMP
read only = false
uid = zhrumde
gid = tivoli
#pre-xfer exec = /tmp/send_mail.ksh
post-xfer exec = /tmp/send_mail.ksh
T...
2007 Jan 03
1
How to Vary Module Path Based on User
I want to vary the path rsync uses based on the user that authenitcated to the module.
I can see doing this in one of two ways:
1) Append the username that was used for the connection to the path string of the module on the fly. What was /path/to/dir is now /path/to/dir/username
2) Append the username into the dest_path that was sent from the other side. The effect of this would do the same
2006 Sep 08
2
post-xfer exec -- more juice!
Hello,
I'm attempting to use the pre-xfer exec and post-xfer exec utilities to
replace a complicated script which tails the rsync log and does A Bunch
Of Stuff at the beginning and completion of rsync transfers.
(It will also allow us to throw away a nasty hack which forces rsync to
log the fact that is exiting - trying to provide a catch for /all/
possible exit conditions (ie, strings in the
2006 Apr 27
3
Permissions causing full backups?
I am using rsync/rsnapshot on Windows XP (via cygwin) to backup to a mapped
share (/u) on a Linux server. I’m hoping to get this to work so that I
don’t have to open an XP share to the network for Linux “pull” backups.
My current setup doesn’t seem to give me incremental backups. See the “du”
output…
$ /usr/bin/du -csh /cygdrive/u/docs_bkup/daily.0/
/cygdrive/u/docs_bkup/daily.1/
2009 Aug 26
3
Enhanced authentication and authorization in rsyncd
Hi,
I added a few things to allow the rsync daemon?more refined
authorization and authentication than the current implementation.
The attached patch file is against the 3.0.6 version.
Additions:
1. allow the uid and gid used to access a certain module to be
determined by the authenticated user -
??? uid = __auth__ will use the auth_user's uid
??? gid = __auth__ will use the auth user's