依據以下步驟即可 (假設帳號為 jack)
# usermod -L jack意義分別是
# chage -d 0 jack
# usermod -p "" jack
1. lock the account接著使用該帳號登入,會強迫要求修改密碼,如下:
2. force the password expired
3. set password as null
login: jack
You are required to change your password immediately (root enforced)
New UNIX password: