Re: [Bacula-users] bacula Passwords in conf files

2010-06-17 Thread Phil Stracchino
On 06/17/10 07:06, Bruno Friedmann wrote:
> On 06/15/2010 05:24 PM, duxbuz wrote:
>>
>> I have conf files with long passwords in, prob encrypted or masked.
>>
>> I need to alter the passwords, do i just add a new string? if so hows it get 
>> masked?
>>
>> Cant seem to find mention in documentation.
>>
>> Or do i use the console to set passwords?
>>
>> thanks
>>
> 
> bacula rpm spec contain this line to generate password for bacula
> 
> openssl rand -base64 33
> 
> run it, get the result and apply in each config concerned file ..

That is used simply to generate a random password at installation time.
 While it does generate a good strong random password, it's by no means
a requirement to use that method.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula Passwords in conf files

2010-06-17 Thread Bruno Friedmann
On 06/15/2010 05:24 PM, duxbuz wrote:
> 
> I have conf files with long passwords in, prob encrypted or masked.
> 
> I need to alter the passwords, do i just add a new string? if so hows it get 
> masked?
> 
> Cant seem to find mention in documentation.
> 
> Or do i use the console to set passwords?
> 
> thanks
> 

bacula rpm spec contain this line to generate password for bacula

openssl rand -base64 33

run it, get the result and apply in each config concerned file ..

-- 

 Bruno Friedmann

Ioda-Net Sàrl
2830 Vellerat - Switzerland
  www.ioda-net.ch


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula Passwords in conf files

2010-06-15 Thread Phil Stracchino
On 06/15/10 11:24, duxbuz wrote:
> 
> I have conf files with long passwords in, prob encrypted or masked.
> 
> I need to alter the passwords, do i just add a new string? if so hows it get 
> masked?
> 
> Cant seem to find mention in documentation.
> 
> Or do i use the console to set passwords?

The console has no functionality to set passwords.  You set passwords by
editing the configuration files, making sure you use the same password
in the Director and the client's or storage daemon's configuration file
(and, for Catalog access, in your database).  To change a password, just
replace the password string in both places where it's used
(bacula-dir.conf and one of bacula-fd.conf, bacula-sd.conf, or your
database) and restart the affected Bacula daemons.  The password string
can contain absolutely anything you like and can be of any length.  As
best I recall, it is sent across the network as an MD5 hash, not in clear.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula Passwords in conf files

2010-06-15 Thread John Drescher
On Tue, Jun 15, 2010 at 11:24 AM, duxbuz  wrote:
>
> I have conf files with long passwords in, prob encrypted or masked.
>
> I need to alter the passwords, do i just add a new string? if so hows it get 
> masked?
>

Just put whatever you want in the string and make it the same in both configs.


John

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users