Contents
How does authconfig work in Red Hat Enterprise Linux?
On Red Hat Enterprise Linux, authconfig has both GUI and command-line options to configure any user data stores. The authconfig tool can configure the system to use specific services — SSSD, LDAP, NIS, or Winbind — for its user database, along with using different forms of authentication mechanisms.
What happens when authconfig is run by root?
If –test action is specified, the authconfig just reads the current settings from the various configuration files and prints their values. If –update action is specified, authconfig must be run by root (or through console helper), and configuration changes are saved. Only the files affected by the configuration changes are overwritten.
What are the variables in authconfig in sysconfig?
/etc/sysconfig/authconfig. Used to track whether or not particular authentication mechanisms are enabled. Currently includes variables named USESHADOW, USEMD5, USEKERBEROS, USELDAPAUTH, USESMBAUTH, USEWINBIND, USEWINBINDAUTH, USEHESIOD, USENIS, USELDAP, and others. /etc/passwd, Used for shadow password support.
How does authconfig save and restore configuration files?
The –restorebackup, –savebackup, and –restorelastbackup actions provide a possibility to save and later restore a backup of configuration files which authconfig modifies. Authconfig also saves an automatic backup of configuration files before every configuration change. This special backup can be restored by the –restorelastbackup action.
When to use authconfig in rhel8 compatibility mode?
The latest versions of Fedora and RHEL8 use authselect instead, although you may find the authconfig utility in a compatibility mode. The authconfig tool was created to assist in client configuration for centralized authentication.
What is the purpose of the authconfig tool?
The authconfig tool was created to assist in client configuration for centralized authentication. PAM files are only a part of this configuration.
How to use authconfig to enable Pam by example?
PAM files are only a part of this configuration. For example, using authconfig to enable Kerberos authentication makes changes to the /etc/nsswitch.conf file and the /etc/krb5.conf file in addition to adding the pam_krb5 module to the /etc/pam.d/ {system,password}-auth files.