If you can boot with a live distro like knoppix, then you could mount the partition and access the files directly (and copy them to an external drive) without having to log in. ( provided that the partition isn't encrypted ) You don't need to reset the password.
The process of resetting a password is to edit /etc/shadow and delete the characters between the first and second ":" character.
example:
from
tuser:$3a$45$USXM7nqAYf12qIs3PEsV5.CKxdzGLxPV6RRW38j1qTlZfhDaoXwXK:13903:0:99999:7:::
to
tuser::13903:0:99999:7:::
- sudo /sbin/fdisk -l
- sudo mount -t ext31 /dev/sda5 /mnt
- sudo vim2 /etc/fstab
- <edit out the encrypted password hash>
- reboot the computer and login without a password
1The filesystem may be different. Use the output of fdisk -l to determine it. ( the -t ext3 part )
2You can use any editor, you don't need to use vim.