How do you pass a password in passwd command?
Answer
Suppose we login as root and want to change user linuxuser’s password to linuxpassword. The passwd command asks for the new password twice. And these two inputs (the same password) is separated by one “Enter”.