{"id":20329573,"url":"https://github.com/freeradius/pam_radius","last_synced_at":"2025-10-05T11:55:13.478Z","repository":{"id":5170079,"uuid":"6341710","full_name":"FreeRADIUS/pam_radius","owner":"FreeRADIUS","description":"This is the PAM to RADIUS authentication module.  It allows any Linux, OSX or Solaris machine to become a RADIUS client for authentication and password change requests.","archived":false,"fork":false,"pushed_at":"2025-02-20T18:28:52.000Z","size":556,"stargazers_count":107,"open_issues_count":18,"forks_count":99,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-28T20:06:18.504Z","etag":null,"topics":["c","client","pam","radius"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"php/php-langspec","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FreeRADIUS.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-10-22T20:18:20.000Z","updated_at":"2025-03-23T23:05:12.000Z","dependencies_parsed_at":"2023-01-16T19:15:41.308Z","dependency_job_id":"36a714dc-967d-4a11-a417-1dfca79efda5","html_url":"https://github.com/FreeRADIUS/pam_radius","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeRADIUS%2Fpam_radius","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeRADIUS%2Fpam_radius/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeRADIUS%2Fpam_radius/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeRADIUS%2Fpam_radius/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreeRADIUS","download_url":"https://codeload.github.com/FreeRADIUS/pam_radius/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249524,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","client","pam","radius"],"created_at":"2024-11-14T20:11:54.949Z","updated_at":"2025-10-05T11:55:08.453Z","avatar_url":"https://github.com/FreeRADIUS.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pam_radius\n\n[![CI](https://github.com/FreeRADIUS/pam_radius/actions/workflows/ci.yml/badge.svg)](https://github.com/FreeRADIUS/pam_radius/actions/workflows/ci.yml)\n[![CI RPM](https://github.com/FreeRADIUS/pam_radius/actions/workflows/ci-rpm.yml/badge.svg)](https://github.com/FreeRADIUS/pam_radius/actions/workflows/ci-rpm.yml)\n[![CI DEB](https://github.com/FreeRADIUS/pam_radius/actions/workflows/ci-deb.yml/badge.svg)](https://github.com/FreeRADIUS/pam_radius/actions/workflows/ci-deb.yml)\n\nThis is the PAM to RADIUS authentication module.  It allows any Linux, OSX or\nSolaris machine to become a RADIUS client for authentication.  You will need to\nsupply your own RADIUS server to perform the actual authentication.\n\nThe latest version has a simple merger of the original `pam_radius`\nsession accounting code which will work *only* on Linux.\n\nSee INSTALL for instructions on building and installing this module. It has\nbeen successfully used for RADIUS authentication on CentOS, RHEL and Rocky\nLinux versions 7 to 9, Debian, Ubuntu, many older Linux distributions such\nas RedHat 5.x and RedHat 6.x, as well as Solaris 2.6 and OSX 10.9.1.\n\nA number of options are supported by this module.  See USAGE for\nmore details.\n\nCare should be taken when configuring RADIUS authentication.  Your\nRADIUS server should have a minimal set of machines in its 'clients'\nfile.  The server should NOT be visible to the world at large, but\nshould be contained behind a firewall.  If your RADIUS server is\nvisible from the Internet, a number of attacks become possible.\n\nAny additional questions can be directed to the FreeRADIUS user's\nmailing list: https://www.freeradius.org/support/\n\nFor the latest version and updates, see the main web or ftp site:\n\n- https://freeradius.org/pam_radius_auth/\n- ftp://ftp.freeradius.org/pub/radius/\n\nThe `pam_radius_auth` module based on an old version of Cristian\nGafton's `pam_radius.c`, and on the RADIUS Apache module.\n\nThe source contains a full suite of RADIUS functions, instead of\nusing libpwdb.  It makes sense, because we want it to compile\nout of the box on Linux and Solaris 2.6.\n\nThere are minimal restrictions on using the code, as set out in the\ndisclaimer and copyright notice in `pam_radius_auth.c`.\n\nBuilding it is straightforward: use GNU make, and type `./configure`,\nfollowed by `make`.  If you've got some other weird make, you'll\nhave to edit the Makefile to remove the GNU make directives.\n\nAlan DeKok \u003caland@freeradius.org\u003e\n\n## Debugging\n\nWhen building under clang and some later versions of GCC with `--enable-developer`, you can add the following flags:\n\n- `--enable-address-sanitizer`, enables address sanitizer (detects use after\n  free issues, and out of bounds accesses).\n\n- `--enable-leak-sanitizer`, enables leak sanitizer (detects memory leaks).\n\n## Packages\n\n## RPM (RedHat, CentOS, Rocky Linux etc)\n\n```\n$ ./configure\n$ make rpm\n$ rpm -ivh rpmbuild/RPMS/x86_64/pam*.rpm\n```\n\nConfiguration example for sshd+PAM in [redhat/pam_sshd_example](redhat/pam_sshd_example)\n\n## DEB (Debian, Ubuntu etc)\n\n```\n$ ./configure\n$ make deb\n$ dpkg -i ../libpam-radius-auth_*.deb\n```\n\nConfiguration example for sshd+PAM in [debian/pam_sshd_example](debian/pam_sshd_example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeradius%2Fpam_radius","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeradius%2Fpam_radius","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeradius%2Fpam_radius/lists"}