pam_radius_auth.so pam_radius_auth.conf login service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,


I am testing RADIUS protocol implementation - freeradius,
on RedHat Linux 7.2 platform, after using some shipped
tools with freeradius package to test it is working
normally.

Nest step I want to combine RADIUS with pam to provide
some additional functions to other service, i.e., login.
But I do not know how to configure it.

The following list is the detail information about this
test,

1. Hardware Platform: Intel x386
2. Operating System: RedHat Linux 7.2
3. RADIUS daemon: freeradius-0.8.1
4. Linux-PAM: pam-0.75-46.7.2
5. Others: pam_radius_auth.so, pam_radius_auth.conf
6. Testing radiusd function,
    [root@xxxxxxxx bin]# ./radtest Clarke 123abc# 202.123.194.30 1812
testing123
    Sending Access-Request of id 146 to 202.123.194.30:1812
            User-Name = "Clarke"
            User-Password = "\254O\236\262\373.\000\r\321,\214sE\334u\030"
            NAS-IP-Address = RedHat-7.2
            NAS-Port = 1812
    rad_recv: Access-Accept packet from host 202.123.194.30:1812, id=146,
length=20
7. Copy pam_radius_auth.so to /lib/security
8. Reconfig /etc/pam.d/login file as following
    auth       required     /lib/security/pam_securetty.so
    auth       sufficient   /lib/security/pam_radius_auth.so
    auth       required     /lib/security/pam_unix_auth.so
9. Use telnetd service call for login service, but it don't work

Is there any suggestion for this case? Thank you!


Clarke



_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux