mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
36 lines
723 B
Markdown
36 lines
723 B
Markdown
|
# authconfig
|
||
|
|
||
|
> A CLI interface for configuring system authentication resources.
|
||
|
|
||
|
- 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`
|