2019-03-27 17:36:02 +00:00
# authconfig
2019-03-28 17:48:42 +00:00
> Interface de linha comandos para configurar o sistema de autenticação.
2021-07-09 15:45:55 +01: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 17:36:02 +00:00
2019-03-28 17:48:42 +00:00
- Exibir as configurações atuais (ou dry run):
2019-03-27 17:36:02 +00:00
`authconfig --test`
2019-03-28 17:48:42 +00:00
- Configurar o servidor para utilizar diferentes algoritmos de hash para as senhas:
2019-03-27 17:36:02 +00:00
2019-03-28 17:48:42 +00:00
`authconfig --update --passalgo={{algoritmo}}`
2019-03-27 17:36:02 +00:00
2019-03-28 17:48:42 +00:00
- Habilitar a autenticação via LDAP:
2019-03-27 17:36:02 +00:00
`authconfig --update --enableldapauth`
2019-03-28 17:48:42 +00:00
- Desabilitar a autenticação via LDAP:
2019-03-27 17:36:02 +00:00
`authconfig --update --disableldapauth`
2019-03-28 17:48:42 +00:00
- Habilitar o Network Information Service (NIS):
2019-03-27 17:36:02 +00:00
`authconfig --update --enablenis`
2019-03-28 17:48:42 +00:00
- Habilitar Kerberos:
2019-03-27 17:36:02 +00:00
`authconfig --update --enablekrb5`
2019-03-28 17:48:42 +00:00
- Habilitar a autenticação Winbind (Active Directory):
2019-03-27 17:36:02 +00:00
`authconfig --update --enablewinbindauth`
2019-03-28 17:48:42 +00:00
- Habilitar a autorização local:
2019-03-27 17:36:02 +00:00
`authconfig --update --enablelocauthorize`