A special user to matcheon all usernames
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.
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
participants (2)
-
Arran Cudbard-Bell -
pang_jiacai