Date: Tue, 22 Oct 2002 10:20:35 +0100 From: "Jamie Heckford" <jamie@jamiesdomain.org.uk> To: <dexter@backtech.com>, <freebsd-isp@FreeBSD.ORG> Subject: Re: user account/password sync between machines? Message-ID: <00e201c279ac$47dc2220$3264a8c0@BONG> References: <20021021204543.GA14674@backtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Dexter McNeil" <dexter@backtech.com> To: <freebsd-isp@FreeBSD.ORG> Sent: Monday, October 21, 2002 9:45 PM Subject: user account/password sync between machines? > I've got a project that involves two identically configured machines that > are providing DNS and remote user SSH login. The systems are configured > such that the users log into 'host', with each machine's DNS server > returning it's IP address in response to a lookup of 'host'. The idea being > that if one machine goes down, the other machine will still respond to DNS > lookups and users will still be able to log in. All of this seems to work > nicely in testing. > > The remaining piece of my puzzle for this is a method of keeping the user > accounts sync'd between the two machines. I've looked into hacking up the > adduser.perl script to allow for remote operations on the master.passwd > file on the two machines (use a third machine to contain the master > database & publish it to the two remote machines), however I'm wondering > if anyone has found an easier solution to this type of problem. > The way I did it was to store all the necessary information in a MySQL database as a master and write perl scripts to build and maintain the user accounts and passwords. Works good for me on a cron job. You may also want to look at cfengine? -- ____________________________________________________ Message scanned for viruses and dangerous content by <http://www.newnet.co.uk/av/> and believed to be clean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e201c279ac$47dc2220$3264a8c0>