Recover user admin in Ubuntu

Recently there has been a question through contact-form about how to recover an admin user. Specifically, it was when you opened the application “System Configuration> User Accounts” and changed the type of account to “Standard”. I am preparing to create this updated guide, since there have been changes in the...