AFS Client on Fedora Core 1/Fedora Core 2
I have created a HOWTO on installing the OpenAFS client on a Fedora workstation. The AFS client is a very useful tool to have, as it allows you to authenticate to and store files in an AFS cell. In this case, we will be authenticating to the clarkson.edu AFS cell.
It is quite simple to get AFS authentication working on Fedora. Simple visit the OpenAFS webpage, download and install the following rpms:
Once these files are installed, you need to edit /usr/vice/etc/ThisCell. Change 'openafs.org' to 'clarkson.edu'. Then, replace /usr/vice/etc/CellServDB with this one.
Then all that remains is to edit the files located in /etc/pam.d so that they look to the AFS module for authentication. On Fedora there is one file for each service that requires authentication. The ones that I typically modify are gdm, login, sshd, sudo annd xscreensaver. To modify these files, simply add the line:
auth sufficient /lib/security/pam_afs.so try_first_pass ignore_root
to the top of each file.