Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 15:35:13 -0800
From:      "Kurt Buff" <kurt.buff@gmail.com>
To:        "Julian H. Stacey" <jhs@berklix.org>
Cc:        freebsd-stable@freebsd.org, "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Subject:   Re: Software for distribution of configuration files and changes
Message-ID:  <a9f4a3860711201535s3bd0e758ub02102461bac46ae@mail.gmail.com>
In-Reply-To: <200711202315.lAKNFa4R012904@fire.js.berklix.net>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAACAAAAAAAAAAiuboouUF6EKrT2uPks5M1AAAAAD7AgAAAPYFABAAAAAdMdDZF9ebRbtpiHRx6LqFAQAAAAA=@kmjeuro.com> <474325A0.7060802@gmail.com> <200711202315.lAKNFa4R012904@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 20, 2007 3:15 PM, Julian H. Stacey <jhs@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9f4a3860711201535s3bd0e758ub02102461bac46ae>