tldr/pages/linux/authconfig.md

37 lines
877 B
Markdown
Raw Normal View History

2018-02-22 21:19:44 +00:00
# authconfig
> A CLI interface for configuring system authentication resources.
> More information: <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/authconfig-install>.
2018-02-22 21:19:44 +00:00
- Display the current configuration (or dry run):
`authconfig --test`
- Configure the server to use a different password hashing algorithm:
`authconfig --update --passalgo={{algorithm}}`
- Enable LDAP authentication:
`authconfig --update --enableldapauth`
- Disable LDAP authentication:
`authconfig --update --disableldapauth`
- Enable Network Information Service (NIS):
`authconfig --update --enablenis`
- Enable Kerberos:
`authconfig --update --enablekrb5`
- Enable Winbind (Active Directory) authentication:
`authconfig --update --enablewinbindauth`
- Enable local authorization:
`authconfig --update --enablelocauthorize`