HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

authconfig — Configure system authentication resources. More information: <https://manned.org/authconfig>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
resourcescommandconfigurecliauthenticationauthconfigmoresystem
linux

Problem

How to use the authconfig command: Configure system authentication resources. More information: <https://manned.org/authconfig>.

Solution

authconfig — Configure system authentication resources. More information: <https://manned.org/authconfig>.

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

Code Snippets

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

Context

tldr-pages: linux/authconfig

Revisions (0)

No revisions yet.