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
#if you dont't have your root password => then don't use sudo command
# passwd <username>
Current password:
New password:
Retype new password:
passwd: password updated successfully
xxxxxxxxxx
#To change password in linux
#Log in to the user and Type the following command.
passwd