It depends how you configured the aaa, if you didn't put local or none after group radius/tacacs authentication for login, like,
aaa authentication login default RADIUS local, then you're going to have do the password recovery.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: