Linux – Change or reset a lost password
Created: 2013/09/27 ; Modified: 2014/06/20
Change your Ubuntu password in recovery mode (00:23)
- Boot in « Recovery mode » (00:36)
- Open the root console (00:45)
- Remount the filesystem in read-write mode « mount -o remount,rw / »
- List the users « cat /etc/passwd »
- Change the password « passwd [username] »
Reset the password of any Linux distribution (01:44)
- Insert your Ubuntu LiveCD (01:57)
- Go in the « Try Ubuntu » mode (02:25)
- Mount the hard drive (02:33)
- Open Nautilus in administrator mode with F2 + « gksudo nautilus » (02:58)
- Edit the « /etc/shadow » file
- Reboot (03:55)
- Change your password with « User Accounts » application