1
在命令行下输入 passwd
[root@localhost ~]# passwd 2 在提示下输入新密码 Changing password for user root. New password: 3 完成后再次输入密码 Retype new password: 4 修改成功提示 passwd: all authentication tokens updated successfully.