Changes
From Karnataka Open Educational Resources
17 bytes added
, 15:35, 12 December 2017
Line 509: |
Line 509: |
| =How to reset the username login password in Ubuntu = | | =How to reset the username login password in Ubuntu = |
| | | |
− | #Boot in a '''recover mode'''.<br>
| + | 1. Boot in a '''recover mode'''.<br> |
| [[file:Grub.png | 400px]] | | [[file:Grub.png | 400px]] |
− | #Now select "'''root - Drop to root shell prompt'''" and it will ask you root password (if you configured root password) then press '''Enter'''.
| + | 2. Now select "'''root - Drop to root shell prompt'''" and it will ask you root password (if you configured root password) then press '''Enter'''. |
| [[file:Recovery_mode.png | 400px]] | | [[file:Recovery_mode.png | 400px]] |
− | #Now in front of # symbol type '''ls /home'''
| + | 3. Now in front of # symbol type '''ls /home''' |
− | #Type following command :'''mount -rw -o remount /'''
| + | 4. Type following command :'''mount -rw -o remount /''' |
− | #Then, enter the following command to reset your password:'''passwd <username>'''
| + | 5. Then, enter the following command to reset your password:'''passwd <username>''' |
− | #It will ask for new password (2 times) type and press Enter key.
| + | 6. It will ask for new password (2 times) type and press Enter key. |
− | #reboot the machine using below command : '''sudo reboot'''
| + | 7. reboot the machine using below command : '''sudo reboot''' |
− | #Now try to login with using a new password.<br/>
| + | 8. Now, try to login with using a new password.<br/> |
| | | |
| [[#top|Back to top]] | | [[#top|Back to top]] |