上面流程的示例: # useradd
dan # passwd dan Changing password for user dan. New
password: Retype new password: passwd: all authentication tokens
updated successfully. # usermod -L dan # chage -d 0 dan #
usermod -U dan 当然用户dan第一次登录,就会提示配置密码如下: $ su dan Password:
You are required to change your password immediately (root enforced)
Changing password for dan (current) UNIX password: New
password: Retype new password: