Yesterday I did one stupid thing. Removed encoded root password from /etc/shadow on my router.
Router firmware is a openwrt like embeded linux with ssh access. Now I can't login with neither empty password nor old password. Is any way to restore password or is updating firmware will reset password ?