[an error occurred while processing this directive]

NCSA Linux AFS Console Login

This document is for setting up logging in on the console for a Linux machine. It assumes the AFS client has been installed according to the NCSA Linux AFS Client Installation Guide. Please read through these instructions once before installing so you are familiar with some of the setup options. The commands shown below will need to be executed as "root". If there are any questions or problems with this document, or an installation, then please contact afs@ncsa.uiuc.edu.


Linux 2.2.x

Kerberos and AFS integrated login
This option will allow you to log into the console with your Kerberos/AFS password. You can log in via the console or window login and it will get you a Kerberos ticket and an AFS token.

Copy the authentication module in place:

  # cp /lib/security/pam_krb5.so /lib/security/pam_krb5.so.orig
  # rpm --install /afs/ncsa/packages/linux/RedHat/thirdparty/pam_krb5/pam_krb5-6.1-1.i386.rpm
  (for non-AFS systems, all files are accessible at

      ftp://linux.ncsa.uiuc.edu/pub/RedHat/thirdparty/pam_krb5/

  )
Ignore errors on this next command
  # ln -s /usr/local/krb5/etc/krb5.conf /etc
Now copy the configuration file in place:
  # cp /etc/pam.d/kde /etc/pam.d/kde.orig
  # cp /etc/pam.d/login /etc/pam.d/login.orig
  # cp /etc/pam.d/rlogin /etc/pam.d/rlogin.orig
  # cp /etc/pam.d/xdm /etc/pam.d/xdm.orig
  # cp /etc/pam.d/xscreensaver /etc/pam.d/xscreensaver.orig
  # cp /afs/ncsa.uiuc.edu/packages/linux/RedHat/thirdparty/pam_krb5/pam.d/* /etc/pam.d/
  # chmod 644 /etc/pam.d/*
[an error occurred while processing this directive]