User Tools

Site Tools


linux:pam_users

This is an old revision of the document!


Config PAM on linux

Debug PAM:

1° solution

Add to the end of file /etc/sssd/sssd.conf the following lines

[pam]
debug_level = 9

Logs are located into /var/log/sssd/, and also /var/log/secure

2° solution

Add debug to /etc/pam.d/*

auth sufficient pam_duo.so debug

logs will be located into

*.debug /var/log/debug.log

start SSSD in debug

# sssd -d4

[sssd] [ldb] (3): server_sort:Unable to register control with rootdse!
[sssd] [confdb_get_domains] (0): No domains configured, fatal error!
[sssd] [get_monitor_config] (0): No domains configured.

Check SElinux config

Clear sssd cache

To clear sssd cache for single user

# sss_cache -u user1

To clear sssd cache for all users

# sss_cache -E
linux/pam_users.1643734926.txt.gz · Last modified: 2022/02/01 18:02 by manu