Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article
Related Items

•  "Time for Linux" article

•  "Linux Network Security" basics article


   LinuxPlanet / Tips



Distribute /etc/passwd among several machines securely
Use rsync and ssh as a cron job

James Andrews
Tuesday, October 26, 1999 06:37:28 AM

Add this line to cron:
0,10,20,30,40,50 * * * * /usr/local/bin/rsync -e /usr/local/bin/ssh -a /etc/passwd /etc/shadow /etc/group snoopy:/etc/
.

You will need to install ssh and rsync packages. This cron command runs every 10 minutes. "snoopy" is the name of the remote host, which should be set up to allow remote root ssh without prompting.

You could, of course, use NIS for this, but for simple setups this could be more efficent and easy to secure.





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers