Search code snippets, questions, articles...

Changing User Password in Ubuntu Terminal

Note: If you are not familiar to using the terminal, you will find the space remains empty/blank as you type your existing and new password. Since I am new to using Ubuntu and really any terminal, I am needing a space to save even the simplest of commands.
sudo passwd <username>      *username will not go into < >'s*
[sudo] password for <username>: 
New password: 
Retype new password: 
passwd: password updated successfully

Ubuntu password reset via the terminal

Search Index Data (The code snippet can also be found with below search text)

Ubuntu
Ubuntu password reset
Ubuntu terminal
Ubuntu password reset terminal command
Was this helpful?
0 Comments
Programming Feeds
Learn something new everyday on Devsheet