Files
tldr/pages.zh/linux/authconfig.md

36 lines
808 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# authconfig
> 配置系统身份验证资源。
> 更多信息:<https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/authconfig-install>。
- 显示当前配置(或干运行):
`authconfig --test`
- 配置服务器使用不同的密码哈希算法:
`authconfig --update --passalgo={{algorithm}}`
- 启用 LDAP 身份验证:
`authconfig --update --enableldapauth`
- 禁用 LDAP 身份验证:
`authconfig --update --disableldapauth`
- 启用网络信息服务NIS
`authconfig --update --enablenis`
- 启用 Kerberos
`authconfig --update --enablekrb5`
- 启用 Winbind活动目录身份验证
`authconfig --update --enablewinbindauth`
- 启用本地授权:
`authconfig --update --enablelocauthorize`