cn:ccr:afs:tokenafs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cn:ccr:afs:tokenafs [2024/03/19 14:55] – monducci@infn.it | cn:ccr:afs:tokenafs [2024/04/18 11:06] (current) – monducci@infn.it | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Token AFS ====== | ||
| + | Per permettere l' | ||
| + | |||
| + | ===== EL 7 (CentOS/ | ||
| + | Installare pam_afs_session (si trova in EPEL) | ||
| + | |||
| + | Configurare | ||
| + | * / | ||
| + | * / | ||
| + | come segue | ||
| + | < | ||
| + | |||
| + | (...) | ||
| + | auth sufficient | ||
| + | auth required | ||
| + | (...) | ||
| + | |||
| + | (...) | ||
| + | session | ||
| + | session | ||
| + | (...) | ||
| + | </ | ||
| + | Infine eseguire | ||
| + | authconfig --update | ||
| + | |||
| + | ==== Modifica krb5.conf ==== | ||
| + | |||
| + | aggiungere nella stanza [appdefaults] di / | ||
| + | |||
| + | < | ||
| + | [appdefaults] | ||
| + | # | ||
| + | | ||
| + | minimum_uid = 1000 | ||
| + | debug = false | ||
| + | } | ||
| + | |||
| + | pam = { | ||
| + | debug = false | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Rocky/Alma 8/9 ===== | ||
| + | |||
| + | DA VERIFICARE FIXME | ||
| + | |||
| + | # dnf install epel-release | ||
| + | # dnf install https:// | ||
| + | # dnf install yfs-pam yfs-client krb5-workstation sssd | ||
| + | # authselect create-profile -b sssd sssd_afs | ||
| + | |||
| + | <code diff> | ||
| + | # diff -u / | ||
| + | --- / | ||
| + | +++ / | ||
| + | @@ -8,6 +8,7 @@ | ||
| + | | ||
| + | | ||
| + | | ||
| + | +auth optional | ||
| + | | ||
| + | | ||
| + | | ||
| + | @@ -35,4 +36,5 @@ | ||
| + | | ||
| + | | ||
| + | | ||
| + | +session | ||
| + | | ||
| + | </ | ||
| + | |||
| + | <code diff> | ||
| + | # diff -u / | ||
| + | --- / | ||
| + | +++ / | ||
| + | @@ -15,6 +15,7 @@ | ||
| + | | ||
| + | | ||
| + | | ||
| + | +auth optional | ||
| + | | ||
| + | | ||
| + | | ||
| + | @@ -42,4 +43,5 @@ | ||
| + | | ||
| + | | ||
| + | | ||
| + | +session | ||
| + | | ||
| + | </ | ||
| + | |||
| + | # authselect select custom/ | ||
| + | # authselect apply-changes | ||
| + | |||
| + | # cat / | ||
| + | [defaults] | ||
| + | thiscell = infn.it | ||
| + | |||
