Displaying 2 results from an estimated 2 matches for "tbcsap01".
2005 Jun 24
1
RSYNC not finding rsyncd.conf
...or the cwd/pwd of the rsync process.
On the client side I am running rsync as a non-root user as shown below. I am using the /var/tmp/rsync.sh script as a wrapper so I can execute rsync under truss on the remote server.
rsync --verbose --progress --stats --rsync-path=/var/tmp/rsync.sh -e ssh tbcsap01:
The script /var/tmp/rsync.sh on the remote host looks like this
#!/bin/ksh
#
echo "Args $*." > /var/tmp/rsync.op
pwd >> /var/tmp/rsync.op
env >> /var/tmp/rsync.op
/usr/local/bin/truss -efa -o /tmp/truss rsync --verbose $*
I see these resu...
2005 Jun 27
2
Root privilege solution
...e security configuration at our site. However. rsync seems to be having a problem.
I get this message on the local side.
@ERROR: invalid uid nobody
I would like to figure out why this fails or if there is a better way to accomplish the same thing.
Here is my wrapper script on the remote side.
tbcsap01 154 $ cat /var/tmp/rsync.sh
#!/bin/ksh
#
echo "Args $*." > /var/tmp/rsync.op
pwd >> /var/tmp/rsync.op
env >> /var/tmp/rsync.op
id >> /var/tmp/rsync.op
/usr/bin/sudo /usr/bin/env >> /var/tmp/rsync.op
/usr/bi...