La risposta di slm è molto buona, ma mi interessava esattamente quali file verranno modificati. Questo può essere trovato in /usr/share/authconfig/authinfo.py
. Il seguente estratto è di 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 ("rete", SYSCONFDIR + "/ sysconfig / network"),
FileBackup ("libuser.conf", SYSCONFDIR + "/ libuser.conf"),
FileBackup ("login.defs", SYSCONFDIR + "/ login.defs"),
FileBackup ("sssd.conf", SYSCONFDIR + "/ sssd / sssd.conf")]
Il codice rivela anche che i backup vengono archiviati qui:
PATH_CONFIG_BACKUPS = "/ var / lib / authconfig"