Re: [CentOS] RSync Issues

2009-10-11 Thread News Listener
man rsync

-i, --itemize-changes   output a change-summary for all updates
 --list-only list the files instead of copying them
 --ignore-existing   skip updating files that exist on receiver
-v, --verbose   increase verbosity

--existing, --ignore-non-existing
 This tells rsync to skip creating files (including directories) that do 
not exist yet on the destination. If this option is combined 
with the --ignore-existing option, no files will be updated (which can be 
useful if all you want to do is delete extraneous files).

 This option is a transfer rule, not an exclude, so it doesn't affect the 
data that goes into the file-lists, and thus it doesn't affect 
deletions. It just limits the files that the receiver requests to be 
transferred.

--ignore-existing
 This tells rsync to skip updating files that already exist on the 
destination (this does not ignore existing directories, or nothing 
would get done). See also --existing.

 This option is a transfer rule, not an exclude, so it doesn't affect the 
data that goes into the file-lists, and thus it doesn't affect 
deletions. It just limits the files that the receiver requests to be 
transferred.

 This option can be useful for those doing backups using the --link-dest 
option when they need to continue a backup run that got 
interrupted. Since a --link-dest run is copied into a new directory hierarchy 
(when it is used properly), using --ignore existing will 
ensure that the already-handled files don't get tweaked (which avoids a change 
in permissions on the hard-linked files). This does mean that 
this option is only looking at the existing files in the destination hierarchy 
itself.




ML schrieb:
> Hi All,
> 
> Rsyncing to a USB drive. I am in single user mode.
> 
> I am doing:
> 
> rsync -avx --stats --progress --ignore-existing --exclude 'home/backup/ 
> data' / /mnt/sdb2/
> 
> But I dont see if ignoring existing. A previous rsync stalled and now  
> it seems to be copying them again rather than ignoring them.
> 
> Does anyone have thoughts?
> 
> -ML

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /etc/ldap.conf pam_filter

2010-02-10 Thread News Listener
Hi Chris,
Thanks,
you mind, replace ldap auth with winbind auth ?

my  scene:
on one side 1 smb server pdc with ldap,
on the another side, 1 Xorg-Server with auth over ldap , the same from the 
first one (smb).
i need to permit only users "membership_of" "Domain Users" to login on the 
Xorg-Server
Thanks


Am 05.02.2010 12:45, schrieb Christoph Maser:
> Am Freitag, den 05.02.2010, 11:38 +0100 schrieb Nobody ist perfect:
>> Hi,
>>
>> we use an openldap server / samba as domain controller for our
>> windows/linux workstations. on a specific server, login should only
>> be allowed, if the certain user is member of a group (let's call this
>> group "login"). All the users in the domain are members of the group
>> "Domain Users". Therefore their primary gid is not the login-group's gid.
>> How can I make the login depending on that login-group-membership?
>>
>> Thanks!
>>
>> Toby
>>
>
>
> If you use winbind you can use require_membership_of=
> in/etc/security/pam_winbind.conf.
>
> Chris
>
>
> financial.com AG
>
> Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | 
> Germany
> Frankfurt branch office/Niederlassung Frankfurt: Messeturm | 
> Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
> Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. 
> Yann Samson | Matthias Wiederwach
> Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden 
> (chairman/Vorsitzender)
> Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID 
> number/St.Nr.: DE205 370 553
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos