2019-03-27 14:36:02 -03:00
# authconfig
2019-03-28 14:48:42 -03:00
> Interface de linha comandos para configurar o sistema de autenticação.
2021-07-09 16:45:55 +02:00
> Mais informações: <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/authconfig-install>.
2019-03-27 14:36:02 -03:00
2019-03-28 14:48:42 -03:00
- Exibir as configurações atuais (ou dry run):
2019-03-27 14:36:02 -03:00
`authconfig --test`
2019-03-28 14:48:42 -03:00
- Configurar o servidor para utilizar diferentes algoritmos de hash para as senhas:
2019-03-27 14:36:02 -03:00
2019-03-28 14:48:42 -03:00
`authconfig --update --passalgo={{algoritmo}}`
2019-03-27 14:36:02 -03:00
2019-03-28 14:48:42 -03:00
- Habilitar a autenticação via LDAP:
2019-03-27 14:36:02 -03:00
`authconfig --update --enableldapauth`
2019-03-28 14:48:42 -03:00
- Desabilitar a autenticação via LDAP:
2019-03-27 14:36:02 -03:00
`authconfig --update --disableldapauth`
2019-03-28 14:48:42 -03:00
- Habilitar o Network Information Service (NIS):
2019-03-27 14:36:02 -03:00
`authconfig --update --enablenis`
2019-03-28 14:48:42 -03:00
- Habilitar Kerberos:
2019-03-27 14:36:02 -03:00
`authconfig --update --enablekrb5`
2019-03-28 14:48:42 -03:00
- Habilitar a autenticação Winbind (Active Directory):
2019-03-27 14:36:02 -03:00
`authconfig --update --enablewinbindauth`
2019-03-28 14:48:42 -03:00
- Habilitar a autorização local:
2019-03-27 14:36:02 -03:00
`authconfig --update --enablelocauthorize`