User-Password and regular expression problem

Alan DeKok aland at
Thu Aug 24 17:39:03 CEST 2006

"V.Kukushkin" <vlkukushkin at> wrote:
> I want to disable login users with empty passwords
> So, the entry in my "users" file is:
> ---------------------------------
> DEFAULT User-Password !~ "^$"

  Why use regular expressions?  Why not just

DEFAULT User-Password == "", Auth-Type := Reject

  However, this doesn't work for a number of reasons.

  This will be fixed in 2.0, when it is released this fall.

  Alan DeKok.
--       - The web site of the book - The blog

More information about the Freeradius-Users mailing list