Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a debian squeeze machine that acts as RADIUS client talking with the Freeradius server. I have configured PAM on the client, so made following changes.

  1. Added radiusd to /etc/pam.d which contains -

    @include common-auth
    @include common-account
    @include common-password
    @include common-session
    
  2. Added following line to /etc/pam.d/common_auth

    auth sufficient pam_radius_auth.so
    
  3. Added following line to /etc/pam.d/common_account

    account required pam_radius_auth.so
    
  4. Added following line to /etc/pam.d/common_session

    session required pam_radius_auth.so
    
  5. Added server-ip and secret key to /etc/pam_radius_auth.conf

Authentication and accounting works fine after I configure the above on the client. As soon as I reboot client, login fails with error - "cannot make/remove an entry for the specified session". Cannot login into the client.

Maybe unrelated, but do I have to execute pam-auth-update. Before the login failure error, I see a message "cannot remove /usr/share/pam-configs/radius : No such file or directory"

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.