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

Attachment: signature.asc
Description: OpenPGP digital signature

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to