Copiying /etc/shadow with sudo and rsync

2009-11-24 Thread Gerard Mensoif
Hello, I have 2 server, which must rsync some files, including /etc/passwd and /etc/shadow. Everything was working fine until we decided to forbid rootlogin on the server, and use sudo for the sync. My problem is that /etc/shadow has a file permission of 400, so the non privilegd user can not

Re: --fuzzy search over to-be-deleted files to catch moved files and directories

2009-11-24 Thread H. Langos
On Sat, Nov 21, 2009 at 09:08:05AM -0500, Matt McCutchen wrote: On Fri, 2009-11-13 at 18:58 +0100, H. Langos wrote: [--detect-renamed] doesn't calculate name similarity like --fuzzy because that would be prohibitively expensive in the current implementation. Only files of the

RE: rsync of STDIN to a file.

2009-11-24 Thread Mark Young
Thanks very much Matt for the rdiff command examples and for filing a request to improve the documentation. Cheers, Mark -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options:

DO NOT REPLY [Bug 6927] New: Add a --fat option to ignore 1-second time diffs, ownership, hard links, symlinks, etc.

2009-11-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6927 Summary: Add a --fat option to ignore 1-second time diffs, ownership, hard links, symlinks, etc. Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status:

DO NOT REPLY [Bug 6928] New: Warn the user to use --modify-window=1 --no-owner --no-group etc. on FAT partitions

2009-11-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6928 Summary: Warn the user to use --modify-window=1 --no-owner --no- group etc. on FAT partitions Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW

DO NOT REPLY [Bug 6927] Add a --fat option to ignore 1-second time diffs, ownership, hard links, symlinks, etc.

2009-11-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6927 --- Comment #1 from jasonspi...@gmail.com 2009-11-24 22:20 CST --- Typo. I meant Please credit Kevin Korb http://www.sanitarium.net; email hidden to prevent spam. That's Korb with a letter r. Kevin, I apologize for that. --

Re: Copiying /etc/shadow with sudo and rsync

2009-11-24 Thread Wayne Davison
On Tue, Nov 24, 2009 at 1:49 AM, Gerard Mensoif mensoif_ger...@yahoo.frwrote: rsync --rsync-path='sudo rsync' --rsh='/usr/bin/ssh -x' --archive u...@localhost:/etc/shadow u...@server2:/etc/shadow One end of the transfer has to be local (even a host named localhost is not local), so one thing

[SCM] The rsync repository. branch, master, updated. v3.0.3-284-gd03c0b1

2009-11-24 Thread Rsync CVS commit messages
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project The rsync repository.. The branch, master has been updated via d03c0b1ed39dc9f582e9ae6b12c16381035d7fbd (commit) from