xxxxxxxxxx
##Open the terminal application by pressing Ctrl+Alt+T
1. To change a password for user named tom in Ubuntu,
type: sudo passwd tom
2. To change a password for root user on Ubuntu Linux,
run: sudo passwd root
3. To change your own password for Ubuntu,
execute: passwd
xxxxxxxxxx
# just type:
passwd
# it'll ask for the current passowrd and x2 times for the new one
xxxxxxxxxx
# By default, in Ubuntu, the root account has no password set.
# The recommended approach is to use the sudo command to run commands with root-level privileges.
# you can change password with this command:
sudo passwd
# or just
passwd
xxxxxxxxxx
Forgot it?
If BIOS, reboot --> shift
If UEFI, reboot --> escape (mine in case I forget)
Advanced Options --> 2nd item --> root --> press enter -->
mount -o remount, rw/
-->
This command should get your username ls /home
passwd <username>
enter new password
exit
resume
reboot, twice