$ passwd Changing password for [USER]. Current password: New password: Retype new password: passwd: password updated successfully
쉘 스크립트 등 패스워드 입력이 불가한 경우
$ echo "[USER]:[PASSWORD]" | sudo chpasswd
$ passwd Changing password for [USER]. Current password: New password: Retype new password: passwd: password updated successfully
$ echo "[USER]:[PASSWORD]" | sudo chpasswd
Loading Comments...