linux set password terminal code example
Example 1: add password to user ubuntu
passwd {username}
Example 2: how to change password in linux
# sudo passwd <username>
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully