On Fre, 2008-02-29 at 11:40 +0000, Rui Meireles wrote: > Hello, > I have the same problem, but since I have /home directories in the /drbd > partition, I have lots of users to sincronize by hand... > > Is there a better way for me to sincronize these files in both servers? > /etc/passwd > /etc/shadow > /etc/group > /etc/samba/smbpasswd > /etc/samba/smbusers > ... > > And, if possible: > - create a user/group in the secondary (with same UID/GID) when I create it > in the primary > - change the password in the secondary when I change it in the primary > ... Depends on your environment: - Update your user and group creation scripts to modify both. - maintain a master copy somewhere and copy it automatically/periodically - use LDAP for users and groups Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services