This article explains the password-recovery service and how to disable it on a Cisco device. Steps covered in the article are applicable to Cisco routers, switches, access points and more.
You can read more in this article by following the link below:
Disabling Password-Recovery service
Decrypt Cisco Type-7 Passwords on the fly!