Thanks for your Great Advice! That works!!! And I am sorry for not giving the debug info in the incorrect format,I promise to do so next time. Thanks again! 黄立成 2071264258@qq.com ------------------ 原始邮件 ------------------ 发件人: "Alan DeKok" <aland@deployingradius.com>; 发送时间: 2024年11月29日(星期五) 晚上11:54 收件人: "FreeRadius users mailing list"<freeradius-users@lists.freeradius.org>; 抄送: "黄立成"<2071264258@qq.com>; 主题: Re: Trouble with using virtual server tacacs'login On Nov 29, 2024, at 10:38 AM, 黄立成 via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote: > You told me to enable the files module in tacacs, but I read the page of files module and cannot find any description of how to enable the file module, the only thing in that page is to tell me put my password at the top of user or authorize . > > I have done several changes in tacacs file in sites-enable as followed: > 1)tacacs { > Authentication { There is no "Authentication" section in the default sites-available/tacacs Please use the latest code *and* configuration files from the "master" branch. > files > ...} Why HTML? Just normal text is fine. > 2)authenticate PAP { > files Delete the "files" line from this section. I didn't say to add it here. > pap > } > authenticate CHAP { > files Delete the "files" line here, too. > chap > } > But that did not work, the result is still: See http://wiki.freeradius.org/list-help for "it didn't work". Add the "files" module to the "recv Authentication-Start" section. It should work. And PLEASE post the FULL DEBUGGING OUTPUT. ALL OF IT. WE CANNOT HELP YOU IF YOU IGNORE ALL OF THE DOCUMENTATION AND POST ONLY 4-5 LNES FROM THE DEBUG OUTPUT. Alan DeKok.