How do I change my Linux account password?
Author: Deron Eriksson
Description: This tutorial demonstrates how to change your Linux account password.
Tutorial created using: CentOS release 4.6


In Linux, you can change your password using the "passwd" command. You need to enter your old password and then enter your new password twice. The passwd program will check your new password to be sure that it is reasonably secure (not based on dictionary words, not too short, etc.). If your new password passes the security check, your password will be updated.

changing password with 'passwd'