A special user to matcheon all usernames

Arran Cudbard-Bell a.cudbard-bell at sussex.ac.uk
Sat Jan 16 08:24:35 CET 2010


On 15/01/2010 20:31, pang_jiacai wrote:
> Hi,all:
>    I want to kown how to configure a  special user to match  all
> usernames .I just want to authorize sussessfully even though the
> username don't exist.this is for emergency while my database is
> destoryed,I will let all user pass through without authorizing.please
> give me the detail steps. thanks.
>
authorize {
    sql {
        fail = 1
    }
    if(fail){
        update control {
            Cleartext-Password := 'emergency'
        }
    }
}

The FreeRADIUS policy language is *well* documented.

-Arran

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100115/ad9d49c8/attachment.pgp>


More information about the Freeradius-Users mailing list