Here's how to reset your OS10 admin password. This method requires that you do know your linuxadmin password. If you don't, follow our video 'OS10 Linuxadmin and Admin Password Reset' instead. Connect to your switch using a terminal emulator, here we're using PuTTY.
Then login as 'linuxadmin'. Run 'sudo -i', and enter your linuxadmin password to run as root. Grep for 'admin' in the password file, If the path as shown here is not present, run the usermod command shown to reset it. Here, it will return 'no changes'. Check if the admin account is locked.
'L' is locked, 'P' is unlocked If it's locked, unlock it, and confirm it's been successful. Set a temporary Admin password. This will only work for one login. Run 'sync', then 'exit' twice to logout Login as 'admin' with your temporary password. We can now set an actual password for the account.
Enter configuration mode Optionally, you can disable checks for password length and complexity. Set the password. Exit config, and 'write memory' to save your changes. This password will now persist across logins and reboots.
Thanks for watching.