Don't know the username or password for a donated computer.
I,too, am having trouble with a donated laptop that requires a username and password which I don't have! I completed all the steps you said but after I get to the retype new unix password the next line says passwd: Authentication token lock busy
What now!
To discover your user and restore the password you can:
Start the pc the when you see the GRUB row...
Press ESC.
Press "e" for edit.
Highlight the line that begins kernel ………, and press "e"
Go to the very end of the line, add rw init=/bin/bash
press enter, then press "b" to boot your system.
Your system will boot up to a passwordless root shell.
Type in grep -i 1000 /etc/passwd
The system must show a row with your user name at the start of the row
for example:
danilo:
Here my user is danilo
Then to change your user password type in:
passwd username
change username with your real user
Set your password.
Type in reboot
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- DDay
- Solved:
- Last query:
- Last reply: