<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Dear All,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I have the below Rancid setup working perfectly for sometime and just faced a issue after a restore of switch Config to the new switch</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Centos 8</div><div dir="ltr" data-setdir="false">rancid version 3.9</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Now I wanted to replace a failed switch so using tftp i restored my rancid backup to the switch </div><div dir="ltr" data-setdir="false">Now when from he console it asks me for a username which is admin</div><div dir="ltr" data-setdir="false">and i put the password its not accepting</div><div dir="ltr" data-setdir="false">( all our switches configure with username and password ) </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">after some troubleshooting I found that there is username in my backed-up rancid config file and also on the restored one on my new switch but the password is removed</div><div dir="ltr" data-setdir="false">---------</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>!username admin privilege 15 password <removed></span><br></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>----------------</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>also in line console 0 i see the below</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>--------------</span></div><div dir="ltr" data-setdir="false"><div><table cellspacing="0" cellpadding="0"><tbody><tr class="ydpecb0837vc_row_odd ydpecb0837vc_annotation_group_even" id="ydpecb0837l806"><td class="ydpecb0837vc_file_line_text">line con 0
</td>
</tr>
<tr class="ydpecb0837vc_row_even ydpecb0837vc_annotation_group_even" id="ydpecb0837l807">
<td class="ydpecb0837vc_file_line_number"><a href="http://192.168.107.152/viewvc/cvsroot/BldgA-Switches/configs/192.168.1.100?revision=1.4&view=markup#l807" rel="nofollow" target="_blank">807</a></td>
<td class="ydpecb0837vc_file_line_text"> exec-timeout 5 0
</td>
</tr>
<tr class="ydpecb0837vc_row_odd ydpecb0837vc_annotation_group_even" id="ydpecb0837l808">
<td class="ydpecb0837vc_file_line_number"><a href="http://192.168.107.152/viewvc/cvsroot/BldgA-Switches/configs/192.168.1.100?revision=1.4&view=markup#l808" rel="nofollow" target="_blank">808</a></td>
<td class="ydpecb0837vc_file_line_text">! password <removed></td></tr></tbody></table><br></div><div>----------------------</div><div><br></div><div dir="ltr" data-setdir="false">so i realized that after i had restored the backup i had to create user and assigned a password for him</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">So just wanted to know if this the right practice i need to go about or do i need to follow another way</div><div><br></div><div dir="ltr" data-setdir="false">really appreciate your advise and help</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks and regards</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Simon</div></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"> </div></div></body></html>