A resposta do slm é muito boa, mas eu estava interessado em saber exatamente quais arquivos serão modificados. Isso pode ser encontrado em /usr/share/authconfig/authinfo.py
. O trecho abaixo é do CentOS6:
SYSCONFDIR = "/etc"
PASSWORD_AUTH_PAM_SERVICE_AC = "password-auth-ac"
FINGERPRINT_AUTH_PAM_SERVICE_AC = "fingerprint-auth-ac"
SMARTCARD_AUTH_PAM_SERVICE_AC = "smartcard-auth-ac"
all_configs = [
FileBackup("hesiod.conf", SYSCONFDIR+"/hesiod.conf"),
FileBackup("yp.conf", SYSCONFDIR+"/yp.conf"),
FileBackup("ldap.conf", SYSCONFDIR+"/ldap.conf"),
FileBackup("nss_ldap.conf", SYSCONFDIR+"/nss_ldap.conf"),
FileBackup("pam_ldap.conf", SYSCONFDIR+"/pam_ldap.conf"),
FileBackup("nslcd.conf", SYSCONFDIR+"/nslcd.conf"),
FileBackup("openldap.conf", SYSCONFDIR+"/openldap/ldap.conf"),
FileBackup("krb5.conf", SYSCONFDIR+"/krb5.conf"),
FileBackup("krb.conf", SYSCONFDIR+"/krb.conf"),
FileBackup("pam_pkcs11.conf", SYSCONFDIR+"/pam_pkcs11/pam_pkcs11.conf"),
FileBackup("smb.conf", SYSCONFDIR+"/samba/smb.conf"),
FileBackup("nsswitch.conf", SYSCONFDIR+"/nsswitch.conf"),
CacheBackup("cacheenabled.conf", ""),
FileBackup("system-auth-ac", SYSCONFDIR+"/pam.d/"+AUTH_PAM_SERVICE_AC),
FileBackup("password-auth-ac", SYSCONFDIR+"/pam.d/"+PASSWORD_AUTH_PAM_SERVICE_AC),
FileBackup("fingerprint-auth-ac", SYSCONFDIR+"/pam.d/"+FINGERPRINT_AUTH_PAM_SERVICE_AC),
FileBackup("smartcard-auth-ac", SYSCONFDIR+"/pam.d/"+SMARTCARD_AUTH_PAM_SERVICE_AC),
FileBackup("authconfig", SYSCONFDIR+"/sysconfig/authconfig"),
FileBackup("network", SYSCONFDIR+"/sysconfig/network"),
FileBackup("libuser.conf", SYSCONFDIR+"/libuser.conf"),
FileBackup("login.defs", SYSCONFDIR+"/login.defs"),
FileBackup("sssd.conf", SYSCONFDIR+"/sssd/sssd.conf")]
O código também revela que os backups estão sendo armazenados aqui:
PATH_CONFIG_BACKUPS = "/var/lib/authconfig"