Difference between revisions of "Pam-krb5"

From CBLFS
Jump to navigationJump to search
(Configuring)
Line 40: Line 40:
  
 
== Configuring ==
 
== Configuring ==
 +
 +
If you want to authenticate passwords against kerberos add pam_krb5.so to the pam system-auth:
 +
 +
sed -i "/auth.*pam_unix.so/a\auth      sufficient  pam_krb5.so try_first_pass" /etc/pam.d/system-auth &&
 +
sed -i "/account.*pam_unix.so/a\account    required    pam_krb5.so" /etc/pam.d/system-auth &&
 +
sed -i "/password.*pam_unix.so/a\password  sufficient  pam_krb5.so" /etc/pam.d/system-auth &&
 +
sed -i "/session.*pam_unix.so/a\session    sufficient  pam_krb5.so" /etc/pam.d/system-auth

Revision as of 20:43, 15 November 2008

Download Source: http://archives.eyrie.org/software/kerberos/pam-krb5-3.15.tar.gz

Introduction to Pam-krb5

pam-krb5 provides a Kerberos v5 PAM module that supports authentication, user ticket cache handling, simple authorization (via .k5login or checking Kerberos principals against local usernames), and password changing. It can be configured through either options in the PAM configuration itself or through entries in the system krb5.conf file, and it tries to work around PAM implementation flaws in commonly-used PAM-enabled applications such as OpenSSH and xdm.

Project Homepage: http://www.eyrie.org/~eagle/software/pam-krb5/

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr --libdir=/lib &&
make

Install the package:

make install &&
chmod -v 755 /lib/security/pam_krb5.so

Multilib

32Bit

todo

N32

todo

64Bit

todo

Configuring

If you want to authenticate passwords against kerberos add pam_krb5.so to the pam system-auth:

sed -i "/auth.*pam_unix.so/a\auth       sufficient   pam_krb5.so try_first_pass" /etc/pam.d/system-auth &&
sed -i "/account.*pam_unix.so/a\account    required     pam_krb5.so" /etc/pam.d/system-auth &&
sed -i "/password.*pam_unix.so/a\password   sufficient   pam_krb5.so" /etc/pam.d/system-auth &&
sed -i "/session.*pam_unix.so/a\session    sufficient   pam_krb5.so" /etc/pam.d/system-auth
Retrieved from "?title=Pam-krb5&oldid=16067"