-Boot from your Live Mint DVD.
-Open a terminal window and type the following:
- Code: Select all
mount /dev/sda1 /media/mint
chroot /media/mint passwd root
-You will probably not be prompted for a password at the sudo su line, if so try entering mint
. Enter a new password for the account root, then enter it again to confirm.
-You should be able to login as user root when you reboot and remove the Live DVD. Remember to disable the root login if you want your Mint install to act normally after you finish completely trashing your system. Also remember that the new user you create must be made part of the sudo
group, and probably will need to use visudo
editor to edit the sudo group file.
There is a reason why you don't normally change the main user name after an installation: Getting all of the proper group assignments and permissions straightened out is a PAIN