1.交互式修改: passwd 用戶名 2.非交互式更改: echo 密碼內(nèi)容|passwd --stdin 用戶名 密碼馬上過(guò)期:passwd -e 用戶名 chage -d0 用戶名