Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=472676
--- Comment #14 from Paulo Roma Cavalcanti promac@gmail.com 2008-11-27 05:13:40 EDT --- I understood why the authentication using partimaged-passwd was not working.
The rpm has to be created with login and pam enabled and the rule pam_unix.so has to be removed. Doing this, the server authenticates using the db45 database created by the script. The authentication is logged in the file /var/log/secure.
On the other hand, compiling with pam disabled and login enabled makes the authentication work using only the /etc/partimaged/patimagedusers file. Partimage does not use pam for this type of authentication.
Therefore, the files
/etc/pam.d/partimaged /usr/share/man/man8/partimaged-passwd.8.gz /usr/share/partimaged/partimaged-passwd
are only included in the package when pam support is on.
One has to rebuild the package for getting pam support, and as a consequence, get a (weaker) non-local user type of authentication.