1在命令行下输入 passwd

[[email protected] ~]# passwd

2
在提示下输入新密码

Changing password for user root.
New password:

3
完成后再次输入密码

Retype new password:

4
修改成功提示

passwd: all authentication tokens updated successfully.

原文: http://jingyan.baidu.com/article/f96699bbb0ebd7894e3c1bbe.html