Page 1 of 1

new username and password

Posted: Tue Aug 07, 2018 11:47 am
by oakashelm
Hi,
I've lost my Mint18.2 OS dvd and also the username and password that goes with it. Is there any way I can resurrect my computer? I don't have any other OS on it.
Help would be appreciated, please

Re: new username and password

Posted: Tue Aug 07, 2018 1:16 pm
by deepakdeshp
You can download and either create USB or burn a DVD.
https://linuxhint.com/install_linux_mint_19/

Re: new username and password

Posted: Tue Aug 07, 2018 1:18 pm
by gm10
OP I understood your post to say you still got Mint 18.2 installed. If true, then just boot into the GRUB boot menu (hold shift after the BIOS logo if it's not showing by default), the select Advanced options and then recovery mode. Now select to boot into a root shell. The run

Code: Select all

mount -o remount,rw /
mount --all
ls /home
This will list all the home folders, which typically correspond to the user names.

Now run

Code: Select all

passwd <username>
while replacing <username> for the actual user name you found, and set your new password. Now you can reboot and boot and log in to that user account with the new password you set.