LinuxCommandLibrary

authconfig

authconfig

TLDR

Display the current configuration (or dry run)

$ authconfig --test
copy


Configure the server to use a different password hashing algorithm
$ authconfig --update --passalgo=[algorithm]
copy


Enable LDAP authentication
$ authconfig --update --enableldapauth
copy


Disable LDAP authentication
$ authconfig --update --disableldapauth
copy


Enable Network Information Service (NIS)
$ authconfig --update --enablenis
copy


Enable Kerberos
$ authconfig --update --enablekrb5
copy


Enable Winbind (Active Directory) authentication
$ authconfig --update --enablewinbindauth
copy


Enable local authorization
$ authconfig --update --enablelocauthorize
copy

Copied to clipboard