On 16 abr, 15:10, Larry Ludwig <
larry...@gmail.com> wrote:
> I just thought about one idea:
>
> I could pass the host name to my genkey script and then create a
> routine that will look to to see if I already created a file (in some
> local folder) that has a pre-gen key. If not create one. That way it
> will always give the same key and will prevent it from re-creating the
> configuration file everytime.
>
> Not bad for 9AM in the morning :-)
>
> On Apr 15, 10:29 pm, "Paul Lathrop" <
p...@tertiusfamily.net> wrote:
>
We are generating passwords for bacula using a custom function that
computes the MD5 hash of a constant string for every combination of
server-client nodes (director-file daemon, director-storage daemon,
director-console,...). This creates a security problem, as everybody
knowing how we compute the source string would be able to get all the
bacula passwords, but we favoured ease of implementation (and you may
change some bit of the source string from time to time just in case).
Anyway, this would be ideally implemented using a random password
generator and storing those generated passwords in a database in the
puppet master, everything enclosed in a custom function. This is in
our todo list, but not for the near future (maybe something worth
including in puppet itself?).
HTH, best regards
Jose