[Catalyst] Auth::PAM??

Jose Luis Martinez jlmartinez-lists-catalyst at capside.com
Fri Nov 14 08:50:41 GMT 2008


Michael Higgins escribió:
> 
> __PACKAGE ...
>                    class =>
> # 'PAM'
> 'Authen::Simple', 
> authen => [
> {
>   'class' => 'Passwd',
>   'args' => {
>     'path' => '/etc/shadow'
>   }
> },
>  

To authenticate via PAM with the C::P::A::Authen::Simple, you would have 
to configure:
'class' => 'PAM',
'args' => [
	'service' => '...'
]

See:
http://search.cpan.org/~chansen/Authen-Simple-PAM-0.2/lib/Authen/Simple/PAM.pm 
for what to put in "args".

The way you have it configured above, Catalyst is trying to read the 
shadow file directly, and that shouldn't be possible (only readable by 
root), hence the error message.

Best Regards,

Jose Luis Martinez
jlmartinez at capside.com




More information about the Catalyst mailing list