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. :(
Have you built the package with the source RPM? Seems that you might have compiled it by hand (the tar.gz) without shadow password supprt, which will explain the fact that when disabling shadow password it works.
If you do it with a source RPM you should install it, extract the util-linux sources (under /usr/src/redhat/SOURCES), patch and close it up again. Another, even better option is to add your patch to the spec file and then build.
Hey if use RHEL that will have all you require. Or you can look form lfs project were open source ppl are there to help with code.
rajat