Username Wildcards?

Phil Mayers p.mayers at imperial.ac.uk
Fri Feb 7 00:19:46 CET 2014


On 06/02/2014 23:00, Darren Ward (darrward) wrote:

> to match remote101 and remote102 etc?

You can do this with "unlang":

authorize {
   ...
   if (User-Name =~ /^remote.+/) {
     update control {
       Cleartext-Password := "remote"
     }
   }
   ...
}

See "man unlang"


More information about the Freeradius-Users mailing list