Local User with multiple passwords (or RegEX passwords) possible?

Equin Nix equin.nix at googlemail.com
Thu Jul 7 10:51:33 CEST 2011


Hi,

I am trying to set up something very basic (at least from my point of view):
I would like to have a User with multiple passwords (two actually). How
would I do this? I tried the following:

*alice Auth-Type=Local, Cleartext-Password := "test1"
alice Auth-Type=Local, Cleartext-Password := "test2"*

which (of course) did not work. Then

*alice Auth-Type=Local, Cleartext-Password := "test1"
       Fall-Through = Yes
alice Auth-Type=Local, Cleartext-Password := "test2"*

which (of course) did not work, too. Then I tried some regex, from which,
the following do not work:

*alice Auth-Type=Local, User-Password =~ "[*]*"
alice Auth-Type=Local, User-Password =~ /*/i
alice Auth-Type=Local, User-Password =~ "(test1)**"
alice Auth-Type=Local, User-Password =~ "[.....]*"
...*

How would I make an entry to users to have *alice *log in with "*test1*" OR
"*test2*" as password?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110707/3ccc1969/attachment.html>


More information about the Freeradius-Users mailing list