Date: Fri, 15 Dec 2000 22:47:56 -0500 (EST) To: dwen Subject: Re: rsync On Sat, 16 Dec 2000, dwen wrote: > i have rsync installed and use it to update my "passwd" and "shadow" > files, problem is the home directory ...i have to manually create the > home directory of the new users coming from the main server to my mail > server. how am i going to automate this using rsync ? ... run a cron process in the destination host, to do the following: 1. save a copy of the password file as passwd.tmp 2. diff it against a file 'passwd.old' 3. if the diff is non-null, create a local home directory for each newly added userid, found by the diff 4. rename passwd.tmp to passwd.old 5. exit Hope this helps ...