Using one module with different configurations

FreeRADIUS allows you to use one module with various configurations. As stated earlier this is similar to an object with different instances if you are familiar with programming lingo.

Have a go hero – creating multiple instances of a module

Isaac is in trouble. It completely slipped his mind that the professors' accounts also expire, and he does not want to speak student lingo to the professors in the reply-message. Time to fix this:

  1. Edit the expiration file inside the modules sub-directory under the FreeRADIUS configuration directory. Change the following lines:
    #reply-message = "Password Has Expired\r\n"
    reply-message = "Dude, you are like sooooo expired\r\n"

    to:

    reply-message = "Password Has Expired\r\n" ...

Get FreeRADIUS Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.