Where I can trace PAM error log

Tomas Mraz tmraz at redhat.com
Fri Apr 29 08:04:03 UTC 2005


On Thu, 2005-04-28 at 10:33 -0600, Rocky Zhang wrote:
> Hi,
> 
> I am using Fedora Core 3 (kernel 2.6.11-1.14_FC3smp, pam-0.77-66.2). I
> slightly changed something in X. It seems the pam_console.so never be
> executed. I checked /var/run/console/ directory, it's empty there. If I
> maneully add console.locks, where add a test user name, then use
> "pam_concole_apply" command, it seems works.

> Where can I trace the pam_console.so run successfully or not? I'd like
> to find what's the problem. How the system identify which terminal is
> console and know which user is in the console?

You can add debug parameter to pam_console.so and enable logging of
debug messages in the /etc/syslog.conf.

See the man pages.

-- 
Tomas Mraz <tmraz at redhat.com>




More information about the Pam-list mailing list