Re: debugging pam modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2002-03-29 at 21:56, m96 wrote:
> hi,
> 
> as a novice c & gdb programmer & user, i just wanted to ask if anyone
> knows a way if there is a way to debug a pam module. i guess it should
> be possible but until now i had no success.

In /etc/pam.d/(service name of the application), edit the line 
with the module you're after. Add 'debug' to the end of that line.
The debug information will be sent to the syslog.

EG:

#
# /etc/pam.d/login
#

auth	required	pam_unix.so	debug



If that doesn't give enough detail, you can install the module source
and hack away.




Jenn V.
-- 
    "Do you ever wonder if there's a whole section of geek culture 
        	you miss out on by being a geek?" - Dancer.

jenn@anthill.echidna.id.au     http://anthill.echidna.id.au/~jenn/






[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux