Package: libpam-modules
Version: 0.79-3.1
Severity: normal
Tags: patch

Hello,

The pam_unix 'obscure' option cannot be enabled.


In Linux-PAM/modules/pam_unix/support.h, there are two flags which concern
the 'obscure' option: UNIX_NOOBSCURE_CHECKS and UNIX_OBSCURE_CHECKS.

The first one is enabled by default, and there is no way to disable it.
Linux-PAM/modules/pam_unix/obscure.c checks if UNIX_NOOBSCURE_CHECKS
is set, but never checks wether the 'obscure' option was specified.



The attached patch removes the UNIX_NOOBSCURE_CHECKS flag from
UNIX_DEFAULTS, and tests if the 'obscure' option was not specified (instead
of testing wether the UNIX_NOOBSCURE_CHECKS flag is used, which is always
true).


After applying this patch, the UNIX_NOOBSCURE_CHECKS is no more used  and
could be removed. I can send another patch which does this (but it will
quite bigger).


Kind Regards,
-- 
Nekral


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to