美文网首页
配置SSSD的日志文件

配置SSSD的日志文件

作者: yuhan_sining | 来源:发表于2019-03-30 09:36 被阅读0次

1、修改配置文件sssd.conf
vim /etc/sssd/sssd.conf

[domain/LDAP]
cache_credentials = true
debug_level = 9

[sssd]
debug_level = 9

[nss]
debug_level = 9

[pam]
debug_level = 9

[ssh]
debug_level = 9
日志级别说明图

2、重启SSSD服务
Redhat: service sssd restart
SUSE: rcsssd restart

3、在/var/log/sssd/查看日志
如何查看sssd的日志在哪个文件中,可以通过如下方法:

# rpm -ql sssd | grep log
/var/log/sssd
# ll /var/log/sssd/
总用量 0
-rw------- 1 root root 0 3月  25 15:51 ldap_child.log
-rw------- 1 root root 0 3月  25 15:51 sssd_LDAP.log
-rw------- 1 root root 0 3月  25 15:51 sssd.log
-rw------- 1 root root 0 3月  25 15:51 sssd_nss.log
-rw------- 1 root root 0 3月  25 15:51 sssd_pam.log

附官方说明:
Checking SSSD Log Files
SSSD uses a number of log files to report information about its operation, located in the /var/log/sssd/directory. SSSD produces a log file for each domain, as well as an sssd_pam.log and an sssd_nss.log file.
Additionally, the /var/log/secure file logs authentication failures and the reason for the failure.

相关文章

  • 配置SSSD的日志文件

    1、修改配置文件sssd.confvim /etc/sssd/sssd.conf 2、重启SSSD服务Redhat...

  • 清理历史文件脚本

    清理历史日志和垃圾文件脚本 清理历史文件脚本 配置文件 日志配置文件 运行

  • 03nginx的日志文件配置

    1 nginx日志文件格式配置 2 nginx日志文件存储路径配置 3 nginx日志文件的切割 3.1手动切割m...

  • 日志文件的配置

    配置apache日志文件

  • logback.xml配置详解

    日志打印文件配置

  • MySQL相关

    一、查询日志开启 方式1 通过命令 日志写入到文件 日志写入到数据表 方式2 通过配置文件 注意:对应配置的日志文...

  • TiDB慢查询日志

    配置参数修改 TiDB也支持输出慢查询日志,通过修改配置文件可以指定慢查询日志的文件名以及耗时阈值。 配置文件 /...

  • Logstash对nginx日志进行分析记录

    nginx日志配置 进入conf目录,编辑nginx.conf文件 配置nginx日志格式 logstash配置 ...

  • hive日志配置

    1、hive日志配置说明 hive日志的配置文件放在hive的conf目录配置文件名:hive-log4j2.pr...

  • elk分析nginx日志

    日志格式示例 nginx日志示例 配置logstash logstash 配置文件 添加pattern_dir ...

网友评论

      本文标题:配置SSSD的日志文件

      本文链接:https://www.haomeiwen.com/subject/hoxjbqtx.html