問題描述
Util‑Linux 登錄不使用影子密碼 (Util‑Linux Login not working with shadow password)
I downloaded util‑linux‑2.12b
package and and built it. I need to use the login
utility in the login‑utils
folder.
But after running it, it gives a "Login incorrect" for every user even with correct username/password.
Now it seems the utility is not working with /etc/shadow passowrds.
if I disable the shadow passwords by
#pwunconv
Its is working fine, while after enabling it with
#pwconv
It stops working again. :(
‑‑‑‑‑
參考解法
方法 1:
Sounds like a build issue. Make sure you got your configure
settings right. When I did alot of this building distros, it tended to be either a PAM/Unix authentication compile‑time options not being set right or some prior package being bad.
Good Luck!
方法 2:
This is not really a programming question, huh?
You can probably find more/better support by emailing the developer or posting on ServerFault.
(by M.N、Aiden Bell、Dylan)