passwd(password)命令可让用户修改帐户的密码。一般来说,设置帐户密码失败有几种情况:密码太简单、密码太短、密码中的字符多数相同。例如:
[root@teacher root]$ passwd
Changing password for user zjz.
Changing password for zjz
(current) UNIX password:
New password:
BAD PASSWORD:it’s WAY too short
New password:
BAD PASSWORD:is too simple
New password:
BAD PASSWORD:it does not contain enough DIFFERENT characters
Retype new password:
passwd: all authentication tokens updated successfully.
出自陈纯.Red Hat Linux 9 网络服务入门与进阶
nooway 于 2009-02-12 19:41:42发表:
全英文阿的阿
fengnjupt 于 2009-02-02 14:31:14发表:
顶,要学Linux就要先学命令