How to change the password under linux? The most common ways of the command line looks as following: passwd   Change your own password. passwd sleepy   Change sleepy’s password. passwd -d sleepy   Delete sleepy’s password. When these commands to change your password, you need to enter your old password and new passwords. The new password should be at least six characters