[rancid] Alteon arancid change

Iñaki Martinez Diez networking at hostalia.com
Fri Oct 16 07:29:47 UTC 2009


Hi,

 I had to change the arancid script to remove everyday this line:

- 	opw hex_pass
+ 	opw hex_pass

 The original script:

205     /^(\s+.{2,3}pw )\S+/ &&
206         ProcessHistory("","","","\/\*$1<removed>\n") && next;

 And my change:

205     /^(\s+.{1,3}pw )\S+/ &&
206         ProcessHistory("","","","\/\*$1<removed>\n") && next;

 The change is only the number "2" to number "1" so the regex match:

 opw
 admpw
 usrpw


 I hope this helps someone.



 I am newbie in Alteons but i do not understand why the hex_pass change 
every time i got (dump) the config, i mean if i comment the 205 and 206 
lines, everyday rancid-run dump the config i got the "hex_pass" 
different everyday for the three opw, admpw and usrpw.






More information about the Rancid-discuss mailing list