pam.d ssh radius

T W gqman10 at
Tue Feb 12 22:50:32 CET 2013


I got this working at the end of last year, but now I've having trouble.  I'm setting up SSH access using RADIUS auth on a Ubuntu 12.10 system.  Im using the latest version of libpam-radius-auth  (1.3.17-0ubuntu4) and have followed the readme along with many other explanations and can not get it working. I'm getting the same error even when I try on different VM's running different versions of Ubuntu.  The error "PAM (sshd) illegal module type: auth" makes it sound like it does not support the auth method. Anyone else run into this?

#cat pam_radius_auth.conf    sharedsec       3

#cat /etc/pam.d/sshd

# PAM configuration for the Secure Shell service

# Read environment variables from /etc/environment and
# /etc/security/pam_env.conf.
auth       required # [1]
# In Debian 4.0 (etch), locale-related environment variables were moved to
# /etc/default/locale, so read that as well.
auth       required envfile=/etc/default/locale
auth       required  /lib/security/ debug

# Standard Un*x authentication.
#@include common-auth

Feb 12 13:28:48 T3500 sshd[13374]: PAM (sshd) illegal module type: auth      
Feb 12 13:28:48 T3500 sshd[13374]: PAM pam_parse: expecting return value; [...required ]
Feb 12 13:28:50 T3500 sshd[13374]: Failed password for bob from port 47653 ssh2
Feb 12 13:28:51 T3500 sshd[13374]: Connection closed by [preauth]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list