There is no need to re-install Linux Mint in order to establish a new user account who replaces the old administrator user.
Logged in as the old administrator user create a new user account.
Make sure the new user is a member of the following user groups:
- Code: Select all
$ grep newadmin /etc/group
The two group membershipts that make the new admin user an admin user are the memberships in the groups "sudo" and "adm".
Once the new account has been created and configured (see above), login as the new admin user.
Make sure you can perform all administrative tasks successfully.
Make sure you can use the "sudo" command successfully and execute things with root privileges.
Once this is the case and no sooner
(!!!), remove the previous admin account or simply take away his membership in the groups "adm" and "sudo" thus degrading him to a normal user account.
Kind regards, and a happy new year,