Software for distribution of configuration files and changes

Kurt Buff kurt.buff at gmail.com
Tue Nov 20 15:50:15 PST 2007


On Nov 20, 2007 3:15 PM, Julian H. Stacey <jhs at berklix.org> wrote:
> > Karl M. Joch wrote:
> > > Hello,
> > >
> > > i have searched alot for a software to:
> > >
> > > - distribut configuration files from one master to different
> > > systems - maintain configuration files on one machine for all
> > > systemes and then send it out - push the files, not download them
> > > like cvsup - maintaining files for all systems and files only
> > > affecting one system
> > >
> > > any ideas and hints would be greatly appreziatet.
> > >
> >
> > Have you looked at aegis (aegis.sf.net)?
>
> One way is to use eg:
>         rlogin master_host ; su
>         cd /site; rdist -M 20 -P /usr/bin/ssh mylabel
> & have various /etc & /usr/local/etc & httpd.conf etc files symbolic linked to
> a parallel tree in per host copies of /site
> Add
>         PermitRootLogin yes
> to
>         /etc/ssh/sshd_config
> To make rdist as root easier.
>
> Some people prefer rsync to rdist. rdist6 & rsync are in /usr/ports/net/
> There's doubtless other solutions too.

Whichever technique is used, don't allow remote root login, if you
value the security of your network. Proper use of sudo is probably the
easiest way to avoid root in batch files.

Kurt


More information about the freebsd-stable mailing list