Hi, I am a unix admin tasked with writing script for synchronizing the password between two servers. I though it can be done better using perl and hence this question.
the following is the description : 1. shadow1 - /etc/shadow file from first server 2. shadow2 - /etc/shadow file from second server 3. remove all lines from shadow2 for users not in shadow1 and create a new file shadow3 with those lines. Save shadow2 without those lines 4. overwrite shadow2 with shadow1 5. append shadow3 to shadow2. 6. move shadow2 to /etc directory. shadow files format : user:xxxx:xxx:::::: I know this is a simple script for those who know perl. I would appreciate any help for this Thanks __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]