passwd
UNIX will ask for the old password, then the new one (twice), always with the echo turned off.
Some systems will provide restrictions on the password: IRIX will insist on a password of at least five characters and at least ones non-alphabetic character.
Also note that a maximum length of eight characters is used by the password algorithm: any password longer than eight characters will be truncated to eight.