FreeRADIUS by default supports a flat file format as a local identity store. This flat file is stored as
The file consists of a series of configuration directives used by the
files module to authorise and authenticate users.
The basic user entry looks like this:
username<tab>[Authorisation item], [Authorisation item], ... <tab><tab>[Reply item], [Reply item], ...
The formatting of the stanza above is very important. There should be a <tab> in between the username and any authorisation items, and a line break followed by a <tab> before any reply items.
The minimum authorisation item next to the username would be a corresponding password entry. Usually this password is in clear text, indicated by the attribute
Cleartext-Password. Reply items on the subsequent line are optional.
For more information about configuration directives, see the FreeRADIUS man page for users(5).
|For Moonshot, it is recommended that |
For initial testing
For the purposes of initial testing, you can use a simple local flat file, creating a user with username "testuser" and password "testing".
For small-scale deployments
For a small-scale deployment, such as a pilot project or an Authentication Policy Community, follow the above step for each of the users you wish to add, starting each user on a new line.
If you do not wish to use clear-text passwords for your users, you may wish to use attributes such as