May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

RADIUS Authentication Protocol

News See Also Recommended Books

Recommended Links

Recommended Papers Reference
PAM Troubleshooting SecurID Tokens Smartcards    
    Kerberos History Humor Etc

The Remote Authentication Dial-In User Service (RADIUS) server implements a client-server protocol, based on the Internet Engineering Task Force (IETF) Request for Comments (RFCs) 2865 and 2866, that enables remote access clients to communicate with a central server to gain access to a network. The RADIUS server authenticates users, authorizes their requests to services, and writes accounting data.

Typical clients in a RADIUS environment are a terminal server, authenticating LAN device, or wireless access point.

The RADIUS server consists of three services:

  1. Authentication
  2. Authorization
  3. Accounting
These services work together with either UNIX authentication, a local database, or a Lightweight Directory Access Protocol (LDAP) directory to provide authentication information. The RADIUS authentication server daemon provides security and user authentication for remote connections to the network. It also handles authorization, which specifies what services are available, and in some configurations, how network access is accomplished. The RADIUS accounting server daemon tracks when and how long remote connections are connected to the network.

Remote Authentication Dial In User Service (RADIUS) is an AAA (authentication, authorization and accounting) protocol for applications such as network access or IP mobility. It is intended to work in both local and roaming situations.

When you connect to an ISP using a modem, DSL, cable or wireless connection, for some providers, you must enter your username and password. This information is passed to a Network Access Server (NAS) device over the Point-to-Point Protocol (PPP), then to a RADIUS server over the RADIUS protocol. The RADIUS server checks that the information is correct using authentication schemes like PAP, CHAP or EAP. If accepted, the server will then authorize access to the ISP system and select an IP address, L2TP parameters, etc.

The RADIUS server will also be notified if and when the session starts and stops, so that the user can be billed accordingly; or the data can be used for statistical purposes.

Additionally RADIUS is widely used by VoIP service providers. It is used to pass login credentials of a SIP end point (like a broadband phone) to a SIP Registrar using digest authentication, and then to RADIUS server using RADIUS. Sometimes it is also used to collect call detail records (CDRs) later used, for instance, to bill customers for international long distance.

RADIUS was originally developed by Livingston Enterprises for their PortMaster series of Network Access Servers, but later (1997) published as RFC 2058 and RFC 2059 (current versions are RFC 2865 and RFC 2866). Now, several commercial and open-source RADIUS servers exist. Features can vary, but most can look up the users in text files, LDAP servers, various databases, etc. Accounting tickets can be written to text files, various databases, forwarded to external servers, etc. SNMP is often used for remote monitoring. RADIUS proxy servers are used for centralized administration and can rewrite RADIUS packets on the fly (for security reasons, or to convert between vendor dialects).

RADIUS is a common authentication protocol utilized by the 802.1x security standard (often used in wireless networks). Although RADIUS was not initially intended to be a wireless security authentication method, it improves the WEP encryption key standard, in conjunction with other security methods such as EAP-PEAP.

RADIUS is extensible; most vendors of RADIUS hardware and software implement their own dialects.

The DIAMETER protocol is the planned replacement for RADIUS. DIAMETER uses TCP while RADIUS uses UDP as the transport layer.

There are many free Radius implementations. Among them:

Top Visited
Past week
Past month



[Aug 21, 2008] Setting Up A FreeRadius Based AAA Server With MySQL & Management With Daloradius HowtoForge - Linux Howtos and Tutorials

This tutorial explains how you can set up a FreeRadius (1.1.7) server with Wifi authentication and accounting in conjunction with MySQL & web management with Daloradius on Ubuntu 8.04 (LTS) This howto should work for a newbie. Production deployment is also possible with minor tweaking. But as usual I do not guarantee anything & take no responsibilities if something goes wrong.

[Jun 20, 2008] RAdmin


RAdmin is a Web-based Radius user administration package that works with Radiator and any SQL database on any platform. It provides pages that allow you to add/change/remove users, and to view usage summaries, online modems, service profiles, per-user and per-service Radius check and reply items, and more. The pages available to end users provide usage summaries and facilitate password changing. It supports optional Vasco Digipass tokens.

Open System Consultants, Mike McCauley <mikem [at] open [dot] com [dot] au> [contact developer]

[Mar 10, 2005] FreeBSD and RSA SecurID Authentication


This post is really for archival purposes in the event that someone
else is looking into centralized authentication with RSA SecurID and
FreeBSD (or any other *nix platform for that matter)..

The organization I currently work for has a large ($$$) investment in
RSA SecurID (for VPN use mainly) and like most technology deployments
around here it is not used to it's full capability.  With the onset of
SOX and the like, password use/policy/management has become a rather
large headache.  So for us, SecurID made sense (at least in theory):
centralized, one time passwords.

( Yes, I know there are other options for centralized Unix account
administration, but to this point we have only used local accounts and
some SecurID.  And our goal was to leverage existing infrastructure. )

Our Unix environment, in a phrase: "you build it, we'll run it".  So
it was off to RSA to see what agents/clients are currently available. 
Now we've be running older versions, in a limited capacity, of the RSA
agents for some time (sdshell: a shell that requires SecurID
authentication), but the support is limited (HP-UX, Solaris, AIX).
Then I noticed an available PAM module, joy!  But the joy was short
lived, it only supports Solaris and RHE Linux.

So, when all else fails you head to google...  What I found was a lot
of people in the same boat (on various platforms).  I found a few
possible solutions, but not anything I felt confident about.  So back
to square one.

Then I remembered that our VPN environment uses SecurID, but via
RADIUS.  Ahhh...  Knowing that FreeBSD already had a RADIUS PAM
module, it was my first test platform (5.3).  Once everything was
configured it worked like a charm.  Now for the rest of the
environment...  Linux: Not a Problem (most distros come with the
FreeRadius PAM module), Solaris: Used PAM module from FreeRadius,
HP-UX: Also used module from FreeRadius (it was a bear to get
compiled), AIX: Haven't gotten to this one yet, but I have my fingers
crossed ;-).  Everything at this point appears to work well and the
best part is that the solution/setup is the same for all!

A 'very quick' overview of the configuration...   

1 - A RSA ACE Server running and configured with RADIUS (currently
runs on Solaris/HP-UX and WIndows?)
2 - A client server with a Radius PAM Module
3 - Create a 'Shared Secret'. 
4 - Configure the RSA ACE/RADIUS server and the client server with
'shared secret'.  (PAM module uses /etc/radius.conf for 'shared
secret', servername, etc)
5 - Configure PAM/sshd (or whatever PAM aware services) to require
RADIUS authentication
6 - Configure your local users. (local username must be there SecurID username)

here are some links...  (limited documentation here, it's all on
the install cd's)
... and of course various local manpages.

A quick note on security...

RADIUS is not the most secure protocol out there.  As a matter a fact
data is hidden via a md5  hash. (more details: ).  But our feeling was since
it's SecurID and the generated passcode is only used one time, the
risk is acceptable/minimal! (better then a lame password any day ;-)


RADIUS Extension Guide Introducing RADIUS

PAM Module

You can use the plugable authentication module (PAM) to offer authentication mechanisms such as Kerberos, RSA or smart cards on top of RADIUS. The PAM module is part of the Solaris operating system.

For general information on the PAM authentication modules and API, refer to the pam(3) man page. For information on configuring PAM authentication modules, refer to the pam.conf(4) man page.

For information on configuring the RADIUS server to operate with the PAM module, refer to "Configuring RADIUS to Use PAM". Solaris Bandwidth Manager 1.6 System Administration Guide

The RADIUS server provided with Sun Directory Services 3.1 offers an authentication service for remote users. For full information on the RADIUS server, refer to the documentation delivered with Sun Directory Services 3.1.


The RADIUS server provided with Sun Directory Services 3.1 is an authentication and authorization information server for a Network Access Server (NAS). A NAS is a device that provides an access point to the network for remote users connecting using SLIP, PPP or any other remote access protocol. The NAS transmits the information provided in the connection request from the remote user to the RADIUS server. The RADIUS server checks this information against the entry for the remote user in the directory. It then returns to the NAS an authorization or denial for the remote user connection. It can also provide the appropriate connection parameters for the remote user connection.

Recommended Links

Google matched content

Softpanorama Recommended

Top articles


Recommended Papers

Introducing RADIUS


The RADIUS protocol is currently defined in:

Other relevant RFCs are:




GNU Radius Reference Manual: Client Package

Client Package. Beside the Radius server and accompanying utilities, GNU Radius provides a set of utilities to be used as Radius clients. ... - 4k -

RADIUS Clients - FreeRADIUS Wiki

pyrad is a Python implementation of a RADIUS client as described in RFC2865. ... Radiusclient is a framework and library for writing RADIUS clients. ... - 13k - Cached - Similar pages



Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy


War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes


Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law


Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Haterís Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D

Copyright © 1996-2021 by Softpanorama Society. was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site


The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019