1

How do i find out what my username is when I am locked out of my computer? I forgot what my username is and it won't let me pass the user login page.

  • Try "root" :) If that does not help, boot from a CD or USB stick, and check /etc/passwd on the system disc. – BurninLeo May 11 '19 at 12:21
  • Boot with live usb or cd you installed with. Open file manager. View your hard drive. open home folder. You will have a sub-folder for storing your files. the same sub-folder is your username. Probably something like tamara. – WinEunuuchs2Unix May 11 '19 at 12:35
  • If you haven't live usb or cd, then boot in rescue mode, get the root shell and run ls /home. You'll see all usernames allowed to login. – LeonidMew May 11 '19 at 12:40

1 Answers1

2

Get to root shell as described there
Run following command to find user(subfolders are usernames): ls /home
reboot and login with one of usernames find at above step

LeonidMew
  • 2,734
  • 1
  • 21
  • 38