Password has been already used. Choose another. passwd: Have exhausted maximum number of retries for service


轉自https://blog.csdn.net/xie_calm/article/details/76672354?utm_source=blogxgwz5

當我們有時候要更改linux賬戶密碼時,有時候會遇到下面這種情況:

Password has been already used. Choose another.
passwd: Have exhausted maximum number of retries for service

 

這個意思是你當前設置的密碼最近已經使用過,請重新設置。 那如果偏要使用當前設置的密碼該怎么辦呢?

找到linux下的一個文件/etc/security/opasswd, 這個文件記錄了歷史密碼,把它清空,再重新設置密碼,問題解決。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM