tinuro
hy
I need someone who can modify the original plugin auth-pam for verify that USERNAME=CN , if does return 0, either return 1
who can do this please help
sorry for my bad english
janjust
there is no need to modify the auth-pam plugin for this - use a combination of auth-pam and an 'auth-user-pass-verify' script : the auth-pam plugin will fail, but the script can then grant access to users where username=CN
(if that is what you're looking for)
tinuro
I use CHROOT and doesn't work. That's why I need auth-pam to be modified.
janjust
even with '--chroot' you can use an 'auth-user-pass-verify' script, provided that you stick in the right (chrooted) location.
tinuro
if you put in there all dependencies for that script... (bash,perl, libraries - stuff like that; and I don;t want that)