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:
- Edit the
expiration
file inside themodules
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" #reply-message = "Dude, you are like sooooo expired\r\n"
- Create a file called
exp_students
in themodules
sub-directory under the FreeRADIUS configuration directory with the following contents...