Displaying 20 results from an estimated 20000 matches similar to: "chroot and wrong user names"
2002 Jun 24
2
documentation bug for --daemon "use chroot" in conjunction with -o and -g
Hi all,
Tripped over a documentation bug. I'm guessing the behavior I've found
isn't a bug in itself as it's kind of implied by chroot (unless the
/etc/passwd db is read *before* you do the chroot call), so I'm calling
it a documentation bug.
The Setup:
System A: running rsync --daemon from xinetd, configured with a
read-only share.
System B: syncing a local directory
2003 Jan 16
2
Why is rsyncd trying to access /etc/pwd.db?
I have rsync-2.5.5 humming along on FreeBSD 4.7-STABLE with no apparent
problems. However, I notice when some clients connect to sync, I get this in
/var/log/messages
rsyncd[42843]: /etc/pwd.db: No such file or directory
rsync is running as root with this basic rsync.conf:
use chroot = yes
read only = yes
timeout = 600
Well of course /etc/pwd.db exists and could be readable, but more
2003 Nov 13
3
an unwanted chroot() call
Hello,
I am trying to run rsync under my own userid on a high-numbered port.
The problem is that, when I use the --daemon option, I get an error
saying that a chroot() call failed.
My config file does *not* have any chroot call in it.
How can I avoid a chroot() invocation when running as a normal non-root
user?
Thanks in advance for any advice!
--
Daniel Ortmann, LSI Logic, 3425 40th Av NW,
2001 Aug 31
3
handling of 'use chroot'
At the moment, if you start an rsyncd that's not running as root using
default settings it will have some trouble. rsyncd tries to use
chroot by default, but this will always fail if it's not started by
root. It does emit an error message in this case, but I wonder if
some people find this a bit confusing until they discover the setting.
I have in the past.
It might be better that if
2001 Oct 11
2
@ERROR: chroot failed
Why would I be getting this on a box? I have the same permissions on
many other directories. Using verbose mode shows nothing more then the
error in the Subject line.
Any help is appreciated.
--
Jason G Helfman
Network Administrator
BizRate.com
310.754.1264 desk
2014 Dec 17
3
[Bug 11013] New: [patch] Mention that privileges are dropped, when "use chroot" is enabled in rsyncd.conf manpage
https://bugzilla.samba.org/show_bug.cgi?id=11013
Bug ID: 11013
Summary: [patch] Mention that privileges are dropped, when "use
chroot" is enabled in rsyncd.conf manpage
Product: rsync
Version: 3.1.1
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5
2004 Aug 06
6
[PATCH] Icecast2 - chroot, setuid/gid...
Hi all again...
I did a chroot patch with ability to change uid and gid.
I dunno if you all approve with the current implementation but the patch
is small and it works here.
remember to CC, since i'm not on this ml...
//Ian Kumlien
PS. To anyone on vorbis-dev, I'm *REALLY* sorry must be tired or something.. =)
DS.
<p><p><p>
-------------- next part --------------
A
2002 Jun 26
5
[PATCH] improved chroot handling
There are a couple of niggles with the sandboxing of the unprivileged
child in the privsep code: the empty directory causes namespace pollution,
and it requires care to ensure that it is set up properly and remains set
up properly. The patch below (against the portable OpenSSH, although the
patch against the OpenBSD version is very similar) replaces the fixed
empty directory with one that is
2002 Dec 13
2
Problem with absolute symbolic links
I'm trying to synchronize a particularly troublesome directory structure on a SunOS box to a PC. I really want all symbolic links resolved to real files on the PC when everything is done. I can't seem to find any combination of parameters that will accomplish this.
It boils down to two problems.
1. It seems like that even if I exclude a symbolic link that is a directory it is not
2008 Sep 10
2
log format '%P' only logs '/' when use chroot = true
The subject says it all :-)
Apparently in pre-3.0.0 versions '%P' would log the actual path as
specified in the module entry in rsyncd.conf, but now it's apparently
relative to the chroot...
Paul Slootman
2002 Jun 27
1
rsync 2.5.5 and Mac OS X
Greetings,
Has anyone successfully compiled rsync 2.5.5 under Mac OS X (not
Server), and actually have it work fully?
I'm in a position where I'm trying to setup an automated nightly remote
backup between and Cobalt Raq4 (running a variant of Redhat Linux) and a
Mac running OS X 10.1.5 with the latest development tools installed. As
has been pointed out previously on the list, one has
2002 Apr 06
1
ERROR: chroot failed
I am trying to use rsync to transfer some directories from a RedHat 7.0 box
to a RedHat 7.1 rsync server via a cron job.
The cron command line:
00 00 * * * /usr/local/bin/emailbackup > /tmp/backup.log 2>&1; mail -s
"Rsync Backup Log" my@emailaddres < /tmp/backup.log
The 7.1 rsyncd.cond;
[home]
path = /home/brad/data/emailbackup
read only = no
uid = root
gid = root
The
2004 Jan 08
1
chroot and pwd.db file not found ...
This has been asked before, but my question is somewhat different.
On FreeBSD, the message:
rsyncd[520]: /etc/pwd.db: No such file or directory
is obviously caused by a chrooted rsyncd being unable to access /etc/pwd.db to
get at the password database to convert UIDs to names and back.
Workorounds of putting /etc/pwd.db in the chrooted directory have been offered,
and that's one solution.
2008 Nov 19
1
chdir / chroot after pre-xfer ?
Hello,
I am trying to configure rsyncd to mount destination encrypted FS
(using EncFS) before syncing.
In my rsyncd.conf :
[test]
path = /home/dest
<...>
pre-xfer exec = sleep 30 ; echo mypassword | encfs -S /home/
encrypteddir /home/dest ; sleep 30
(I have put "sleep 30" instructions just to make some tests)
/home/encrypteddir is correctly mounted by rsyncd to /home/dest
2002 Apr 09
1
AIX issue using chroot
Took a while to figure this one out:
Since "use chroot" defaults to true, I was having issues of UID/GID's
not mapping between servers. On AIX, if chroot() is called, the
getpwuid() calls fail, no longer being able to find /etc/passwd.
Since the that call doesn't differentiate between a 'failure' and a
'unable to map uid', rsync assumes it can't map the
2005 Jan 12
1
Timezone error with chrooted rsync version 2.6.3pre1
Hi,
I am not sure it this still is a point, but I just discovered that a
chrooted rsync version 2.6.3pre1 is forgetting the time zone underways:
Jan 12 07:00:01 ftp4 rsyncd[11091]: rsync on dobes/ from dobes@edoc1.gwdg.de (134.76.28.251)
Jan 12 06:00:39 ftp4 rsyncd[11091]: wrote 732542 bytes read 182 bytes total size 553909487945
Logging is done with syslog.
Time zone is GMT+1, the system
2002 Jan 22
2
What is mean this messages?
Hello, evevryone.
thank you for your mails.
I used rsync(rsync-2.4.6-2) for backup Server.(My
Linux is RedHat7.1)
I am very comfortable backup system by rsync.
but, I saw this messages in use rsyncd
daemon.(/var/log/messages)
I don't know mean this messages.
but, It is right use rsyncd. and
I used rsyncd at every day. but this messages writed
log at every minute(?) or every time.
What
2002 Sep 06
3
error starting client-server protocol (code 5)
I'm running FreeBSD 4.6.2 on two different machines. Both machines have
rync installed by way of the ports library, but one of them is running
it as a server. I followed the directions in the man pages for running
the server using inetd.
Here is what happens:
rsync rsync://myusername@10.0.0.8/
rsync: server sent "rysnc version 2.5.5 protocol version 26" rather than
2003 Jul 05
2
@ERROR access denied
Hi All:
I am new to rsync so be gentle with me. I have been able to get
rsync working enough to be able to list modules but not transfer
files.
When I try to transfer a file from the client to the server I use
the command:
rsync -avz fapmenu fisdev::bak
The client displays the following messages:
@ERROR: access denied to bak from pgiprd.forsoft.com
(192.168.2.19)
rsync:
2002 Apr 26
1
rsync 2.5.5 - Utilizing "exclude from" in rsync.conf
I am attempting to utilize the exclude from option in my rsync configuration
file (rather than maintain lists on users machines) but it does not appear to
be working.
One example, I placed *.mp3 in the file to keep them from syncing mp3 files to
the server and jamming up space. But rsync just seems to ignore this and
syncs the files anyway without any errors to the syslog.
All of my