new username and password

Forum rules
Before you post please read how to get help
Post Reply
oakashelm
Level 1
Level 1
Posts: 1
Joined: Tue Aug 07, 2018 9:09 am

new username and password

Post by oakashelm » Tue Aug 07, 2018 11:47 am

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

deepakdeshp
Level 11
Level 11
Posts: 3851
Joined: Sun Aug 09, 2015 10:00 am

Re: new username and password

Post by deepakdeshp » Tue Aug 07, 2018 1:16 pm

You can download and either create USB or burn a DVD.
https://linuxhint.com/install_linux_mint_19/
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

gm10
Level 12
Level 12
Posts: 4075
Joined: Thu Jun 21, 2018 5:11 pm

Re: new username and password

Post by gm10 » Tue Aug 07, 2018 1:18 pm

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.

Post Reply

Return to “MATE”