Hi, > I have a perl script that obtains username and password from a pg > database. I'm new at freeradius, so I only can do a radtest with a > localhost user. Can I test my perl script with an user from the pg > database? how y do the radtest?
yes. you can either have the script as a normal perl script and launch it from the command line, or you can have the script as something that FreeRADIUS uses, call it within the authenticate section and ensure the perl module is enabled/named...you can then just use eg radtest alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html