[ Home ]      [ Blog ]      [ Tutorials ]      [ Code Library ]      [ Aviation ]      [ Manuals ]      [ Grad School ]
 


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:

  • openafs-1.2.11-fc1.0.1.i386.rpm
  • openafs-client-1.2.11-fc1.0.1.i386.rpm
  • openafs-compat-1.2.11-fc1.0.1.i386.rpm
  • openafs-debuginfo-1.2.11-fc1.0.1.i386.rpm
  • openafs-devel-1.2.11-fc1.0.1.i386.rpm
  • openafs-kernel-1.2.11-fc1.0.1.i386.rpm
  • openafs-kernel-source-1.2.11-fc1.0.1.i386.rpm
  • openafs-kpasswd-1.2.11-fc1.0.1.i386.rpm
  • openafs-krb5-1.2.11-fc1.0.1.i386.rpm

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.

   ©Copyright 2004. All Rights Reserved