How do I find my Ubuntu username and password?

How do I find my Ubuntu username and password?
Answer
Forgotten Username
To do this, restart the machine, press “Shift” at the GRUB loader screen, select “Rescue Mode” and press “Enter.” At the root prompt,
type “cut –d: -f1 /etc/passwd” and then press “Enter.” Ubuntu displays a list of all usernames assigned to the system.
 

Tìm kiếm

Back
Top